|
cartobase 6.0.6
|
KeyComparatorLess Function object to be used in key comparisons. More...
#include <cartobase/type/voxelvalue.h>


Public Member Functions | |
| constexpr bool | operator() (const V &lhs, const V &rhs) const |
KeyComparatorLess Function object to be used in key comparisons.
It supports carto::VoxelValue comparisons which has no real meaning but is necessary in containers that uses key ordering (such as std::map).
The KeyComparatorLess class can be used for std::map key comparisons : std::map<T, T, carto::KeyComparatorLess<T> > m;
| V | data type to use in key comparison (uint8_t, carto::VoxelValue, ...) |
Definition at line 137 of file voxelvalue.h.
|
constexpr |
Definition at line 193 of file voxelvalue_d.h.
References carto::KeyComparator< V >::less(), and carto::toString().