MCPcopy Create free account
hub / github.com/davisking/dlib / operator<

Function operator<

dlib/unordered_pair.h:116–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114
115 template <typename T>
116 bool operator<(const unordered_pair<T>& a, const unordered_pair<T>& b)
117 {
118 return (a.first < b.first || (!(b.first < a.first) && a.second < b.second));
119 }
120
121 template <typename T>
122 bool operator>(const unordered_pair<T>& a, const unordered_pair <T>& b)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected