MCPcopy Create free account
hub / github.com/boostorg/stacktrace / operator<

Function operator<

include/boost/stacktrace/frame.hpp:40–40  ·  view source on GitHub ↗

Comparison operators that provide platform dependant ordering and have O(1) complexity; are Async-Handler-Safe.

Source from the content-addressed store, hash-verified

38
39/// Comparison operators that provide platform dependant ordering and have O(1) complexity; are Async-Handler-Safe.
40constexpr inline bool operator< (const frame& lhs, const frame& rhs) noexcept { return lhs.address() < rhs.address(); }
41constexpr inline bool operator> (const frame& lhs, const frame& rhs) noexcept { return rhs < lhs; }
42constexpr inline bool operator<=(const frame& lhs, const frame& rhs) noexcept { return !(lhs > rhs); }
43constexpr inline bool operator>=(const frame& lhs, const frame& rhs) noexcept { return !(lhs < rhs); }

Callers

nothing calls this directly

Calls 1

addressMethod · 0.80

Tested by

no test coverage detected