• Home
  • Raw
  • Download

Lines Matching refs:bool

37       constexpr bool operator==(const optional<T>&, const optional<T>&);
39 constexpr bool operator!=(const optional<T>&, const optional<T>&);
41 constexpr bool operator<(const optional<T>&, const optional<T>&);
43 constexpr bool operator>(const optional<T>&, const optional<T>&);
45 constexpr bool operator<=(const optional<T>&, const optional<T>&);
47 constexpr bool operator>=(const optional<T>&, const optional<T>&);
50 template <class T> constexpr bool operator==(const optional<T>&, nullopt_t) noexcept;
51 template <class T> constexpr bool operator==(nullopt_t, const optional<T>&) noexcept;
52 template <class T> constexpr bool operator!=(const optional<T>&, nullopt_t) noexcept;
53 template <class T> constexpr bool operator!=(nullopt_t, const optional<T>&) noexcept;
54 template <class T> constexpr bool operator<(const optional<T>&, nullopt_t) noexcept;
55 template <class T> constexpr bool operator<(nullopt_t, const optional<T>&) noexcept;
56 template <class T> constexpr bool operator<=(const optional<T>&, nullopt_t) noexcept;
57 template <class T> constexpr bool operator<=(nullopt_t, const optional<T>&) noexcept;
58 template <class T> constexpr bool operator>(const optional<T>&, nullopt_t) noexcept;
59 template <class T> constexpr bool operator>(nullopt_t, const optional<T>&) noexcept;
60 template <class T> constexpr bool operator>=(const optional<T>&, nullopt_t) noexcept;
61 template <class T> constexpr bool operator>=(nullopt_t, const optional<T>&) noexcept;
64 template <class T> constexpr bool operator==(const optional<T>&, const T&);
65 template <class T> constexpr bool operator==(const T&, const optional<T>&);
66 template <class T> constexpr bool operator!=(const optional<T>&, const T&);
67 template <class T> constexpr bool operator!=(const T&, const optional<T>&);
68 template <class T> constexpr bool operator<(const optional<T>&, const T&);
69 template <class T> constexpr bool operator<(const T&, const optional<T>&);
70 template <class T> constexpr bool operator<=(const optional<T>&, const T&);
71 template <class T> constexpr bool operator<=(const T&, const optional<T>&);
72 template <class T> constexpr bool operator>(const optional<T>&, const T&);
73 template <class T> constexpr bool operator>(const T&, const optional<T>&);
74 template <class T> constexpr bool operator>=(const optional<T>&, const T&);
75 template <class T> constexpr bool operator>=(const T&, const optional<T>&);
120 constexpr explicit operator bool() const noexcept;
186 template <class _Tp, bool = is_trivially_destructible<_Tp>::value>
196 bool __engaged_ = false;
254 bool __engaged_ = false;
514 constexpr explicit operator bool() const noexcept {return this->__engaged_;}
577 bool
580 if (static_cast<bool>(__x) != static_cast<bool>(__y))
582 if (!static_cast<bool>(__x))
590 bool
599 bool
602 if (!static_cast<bool>(__y))
604 if (!static_cast<bool>(__x))
612 bool
621 bool
630 bool
641 bool
644 return !static_cast<bool>(__x);
650 bool
653 return !static_cast<bool>(__x);
659 bool
662 return static_cast<bool>(__x);
668 bool
671 return static_cast<bool>(__x);
677 bool
686 bool
689 return static_cast<bool>(__x);
695 bool
698 return !static_cast<bool>(__x);
704 bool
713 bool
716 return static_cast<bool>(__x);
722 bool
731 bool
740 bool
743 return !static_cast<bool>(__x);
750 bool
753 return static_cast<bool>(__x) ? *__x == __v : false;
759 bool
762 return static_cast<bool>(__x) ? *__x == __v : false;
768 bool
771 return static_cast<bool>(__x) ? !(*__x == __v) : true;
777 bool
780 return static_cast<bool>(__x) ? !(*__x == __v) : true;
786 bool
789 return static_cast<bool>(__x) ? less<_Tp>{}(*__x, __v) : true;
795 bool
798 return static_cast<bool>(__x) ? less<_Tp>{}(__v, *__x) : false;
804 bool
813 bool
822 bool
825 return static_cast<bool>(__x) ? __v < __x : false;
831 bool
834 return static_cast<bool>(__x) ? __x < __v : true;
840 bool
849 bool
886 return static_cast<bool>(__opt) ? hash<_Tp>()(*__opt) : 0;