MCPcopy Create free account
hub / github.com/HelenOS/helenos / operator<

Function operator<

uspace/lib/cpp/src/system_error.cpp:171–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169 }
170
171 bool operator<(const error_code& lhs, const error_code& rhs) noexcept
172 {
173 return lhs.category() < rhs.category() ||
174 (lhs.category() == rhs.category() && lhs.value() < rhs.value());
175 }
176
177 error_condition::error_condition() noexcept
178 : val_{}, cat_{&generic_category()}

Callers

nothing calls this directly

Calls 1

valueMethod · 0.80

Tested by

no test coverage detected