MCPcopy Create free account
hub / github.com/Kitware/CMake / operator>

Function operator>

Utilities/cmcppdap/include/dap/optional.h:240–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238
239template <class T, class U>
240inline bool operator>(const optional<T>& lhs, const optional<U>& rhs) {
241 if (!lhs.has_value()) {
242 return false;
243 }
244 if (!rhs.has_value()) {
245 return true;
246 }
247 return lhs.value() > rhs.value();
248}
249
250template <class T, class U>
251inline bool operator>=(const optional<T>& lhs, const optional<U>& rhs) {

Callers

nothing calls this directly

Calls 2

has_valueMethod · 0.80
valueMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…