MCPcopy Create free account
hub / github.com/ThePhD/sol2 / operator>

Function operator>

include/sol/optional_implementation.hpp:1465–1467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1463 /// \group relop
1464 template <class T, class U>
1465 inline constexpr bool operator>(const optional<T>& lhs, const optional<U>& rhs) {
1466 return lhs.has_value() && (!rhs.has_value() || *lhs > *rhs);
1467 }
1468 /// \group relop
1469 template <class T, class U>
1470 inline constexpr bool operator<=(const optional<T>& lhs, const optional<U>& rhs) {

Callers

nothing calls this directly

Calls 1

has_valueMethod · 0.45

Tested by

no test coverage detected