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

Method operator<=

src/Version.cpp:74–76  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

72
73////////////////////////////////////////////////////////////////////////////////
74bool Version::operator<=(const Version& other) const {
75 return std::tie(major, minor, patch) <= std::tie(other.major, other.minor, other.patch);
76}
77
78////////////////////////////////////////////////////////////////////////////////
79bool Version::operator>(const Version& other) const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected