MCPcopy Create free account
hub / github.com/GothenburgBitFactory/taskwarrior / operator<

Method operator<

src/Version.cpp:69–71  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

67
68////////////////////////////////////////////////////////////////////////////////
69bool Version::operator<(const Version& other) const {
70 return std::tie(major, minor, patch) < std::tie(other.major, other.minor, other.patch);
71}
72
73////////////////////////////////////////////////////////////////////////////////
74bool Version::operator<=(const Version& other) const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected