13 #ifndef SPATIAL_VALUE_COMPARE_HPP
14 #define SPATIAL_VALUE_COMPARE_HPP
16 #include "../spatial.hpp"
37 template <
typename Value,
typename KeyCompare>
58 return KeyCompare::operator()(dim, a.first, b.first);
66 #endif // SPATIAL_VALUE_COMPARE_HPP
bool operator()(dimension_type dim, const Value &a, const Value &b) const
Compare 2 values a and b with the comparison operator provided by KeyCompare.
ValueCompare(const KeyCompare &x)
Comparator being initilized with a value to copy into the interal comparison function.
Value compare functor for container storing pairs of (Key, Mapped) types, such as in spatial::point_m...
std::size_t dimension_type
Defines the type for the dimension as being a size.
The main namespace used in the library.
ValueCompare()
Unintialized comparator.