Libosmium
2.20.0
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <object_comparisons.hpp>
Public Member Functions | |
bool | operator() (const osmium::OSMObject &lhs, const osmium::OSMObject &rhs) const noexcept |
bool | operator() (const osmium::OSMObject *lhs, const osmium::OSMObject *rhs) const noexcept |
Function object class for ordering OSM objects by type, ID, and reverse version, timestamp. So objects are ordered by type and ID (negative IDs first, then positive IDs, both in the order of their absolute values), but later versions of an object are ordered before earlier versions of the same object. This is useful when the last version of an object needs to be used.
|
inlinenoexcept |
|
inlinenoexcept |