MCPcopy Create free account
hub / github.com/chronoxor/CppServer / operator<

Method operator<

proto/simple.cpp:29–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29bool SimpleRequest::operator<(const SimpleRequest& other) const noexcept
30{
31 if (id < other.id)
32 return true;
33 if (other.id < id)
34 return false;
35 return false;
36}
37
38void SimpleRequest::swap(SimpleRequest& other) noexcept
39{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected