MCPcopy Create free account
hub / github.com/Snapchat/djinni / operator<

Function operator<

test-suite/generated-src/cpp/date_record.cpp:17–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17bool operator<(const DateRecord& lhs, const DateRecord& rhs) {
18 if (lhs.created_at < rhs.created_at) {
19 return true;
20 }
21 if (rhs.created_at < lhs.created_at) {
22 return false;
23 }
24 return false;
25}
26
27bool operator>(const DateRecord& lhs, const DateRecord& rhs) {
28 return rhs < lhs;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected