8 #ifndef INCLUDE_KDTREE_ACCESSOR_HPP 9 #define INCLUDE_KDTREE_ACCESSOR_HPP 15 template <
typename _Val>
18 typedef typename _Val::value_type result_type;
21 operator()(_Val
const& V,
size_t const N)
const 27 template <
typename _Tp>
30 bool operator() (
const _Tp& )
const {
return true; }
33 template <
typename _Tp,
typename _Dist>
36 typedef _Dist distance_type;
39 operator() (
const _Tp& __a,
const _Tp& __b)
const 41 distance_type d=__a - __b;
46 template <
typename _Tp,
typename _Dist>
49 typedef _Dist distance_type;
63 operator() (
const _Tp& __a,
const _Tp& __b)
const 65 distance_type d=__a - __b;
71 mutable long _M_count;
76 #endif // include guard Definition: function.hpp:47
Definition: function.hpp:34
Definition: function.hpp:28
Definition: function.hpp:16
Definition: allocator.hpp:14