MCPcopy Create free account
hub / github.com/davisking/dlib / operator>

Function operator>

dlib/optional.h:827–830  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

825
826 template <class T, class U>
827 constexpr bool operator>(const optional<T> &lhs, const optional<U> &rhs) noexcept(noexcept(std::declval<T>() > std::declval<T>()))
828 {
829 return bool(lhs) && (!bool(rhs) || *lhs > *rhs);
830 }
831
832 template <class T, class U>
833 constexpr bool operator<=(const optional<T> &lhs, const optional<U> &rhs) noexcept(noexcept(std::declval<T>() <= std::declval<T>()))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected