Searched defs:ValueIsPresent (Results 1 – 1 of 1) sorted by relevance
109 template <> struct ValueIsPresent<T3> { struct110 using UnwrappedType = T3;111 static inline bool isPresent(const T3 &t) { return t.hasValue; } in isPresent()112 static inline const T3 &unwrapValue(const T3 &t) { return t; } in unwrapValue()443 template <> struct ValueIsPresent<pointer_wrappers::PTy> { struct444 using UnwrappedType = pointer_wrappers::PTy;445 static inline bool isPresent(const pointer_wrappers::PTy &P) { in isPresent()448 static UnwrappedType &unwrapValue(pointer_wrappers::PTy &P) { return P; } in unwrapValue()451 template <> struct ValueIsPresent<const pointer_wrappers::PTy> { struct452 using UnwrappedType = pointer_wrappers::PTy;[all …]