MCPcopy Create free account
hub / github.com/comaps/comaps / LessName

Class LessName

libs/indexer/classificator.hpp:55–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53class ClassifObject
54{
55 struct LessName
56 {
57 bool operator()(ClassifObject const & r1, ClassifObject const & r2) const { return (r1.m_name < r2.m_name); }
58 bool operator()(ClassifObject const & r1, std::string_view r2) const { return (r1.m_name < r2); }
59 bool operator()(std::string_view r1, ClassifObject const & r2) const { return (r1 < r2.m_name); }
60 };
61
62public:
63 ClassifObject() = default; // for serialization only

Callers 2

BinaryFindMethod · 0.85
SortMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected