Home
last modified time | relevance | path

Searched refs:NulloptT (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gfxstream/guest/android-emu/aemu/base/
DOptional.h134 struct NulloptT { struct
135 constexpr explicit NulloptT(int) {} in NulloptT() function
144 constexpr NulloptT kNullopt{1};
185 static_assert(!std::is_same<typename std::decay<T>::type, NulloptT>::value,
194 constexpr Optional(NulloptT) {} in Optional() argument
489 bool operator==(const Optional<T>& l, NulloptT) {
493 bool operator==(NulloptT, const Optional<T>& r) {
510 bool operator!=(const Optional<T>& l, NulloptT) {
514 bool operator!=(NulloptT, const Optional<T>& r) {
531 bool operator<(const Optional<T>&, NulloptT) {
[all …]
/hardware/google/aemu/base/include/aemu/base/
DOptional.h138 struct NulloptT { struct
139 constexpr explicit NulloptT(int) {} in NulloptT() function
148 constexpr NulloptT kNullopt{1};
189 static_assert(!std::is_same<typename std::decay<T>::type, NulloptT>::value,
198 constexpr Optional(NulloptT) {} in Optional() argument
493 bool operator==(const Optional<T>& l, NulloptT) {
497 bool operator==(NulloptT, const Optional<T>& r) {
514 bool operator!=(const Optional<T>& l, NulloptT) {
518 bool operator!=(NulloptT, const Optional<T>& r) {
535 bool operator<(const Optional<T>&, NulloptT) {
[all …]