template <class T, class U> constexpr bool operator==(const optional<T>& x, const TU& v);
-?- Requires: The expression
-1- Effects: Equivalent to:*x == v
shall be well-formed and its result shall be convertible tobool
. [Note:T
need not beEqualityComparable
. — end note]return bool(x) ? *x == v : false;
template <class T, class U> constexpr bool operator==(const TU& v, const optional<T>& x);
-?- Requires: The expression
-2- Effects: Equivalent to:v == *x
shall be well-formed and its result shall be convertible tobool
.return bool(x) ? v == *x : false;
template <class T, class U> constexpr bool operator!=(const optional<T>& x, const TU& v);
-?- Requires: The expression
-3- Effects: Equivalent to:*x != v
shall be well-formed and its result shall be convertible tobool
.return bool(x) ? *x != v : true;
template <class T, class U> constexpr bool operator!=(const TU& v, const optional<T>& x);
-?- Requires: The expression
-4- Effects: Equivalent to:v != *x
shall be well-formed and its result shall be convertible tobool
.return bool(x) ? v != *x : true;
template <class T, class U> constexpr bool operator<(const optional<T>& x, const TU& v);
-?- Requires: The expression
-5- Effects: Equivalent to:*x < v
shall be well-formed and its result shall be convertible tobool
.return bool(x) ? *x < v : true;
template <class T, class U> constexpr bool operator<(const TU& v, const optional<T>& x);
-?- Requires: The expression
-6- Effects: Equivalent to:v < *x
shall be well-formed and its result shall be convertible tobool
.return bool(x) ? v < *x : false;
template <class T, class U> constexpr bool operator<=(const optional<T>& x, const TU& v);
-?- Requires: The expression
-7- Effects: Equivalent to:*x <= v
shall be well-formed and its result shall be convertible tobool
.return bool(x) ? *x <= v : true;
template <class T, class U> constexpr bool operator<=(const TU& v, const optional<T>& x);
-?- Requires: The expression
-8- Effects: Equivalent to:v <= *x
shall be well-formed and its result shall be convertible tobool
.return bool(x) ? v <= *x : false;
template <class T, class U> constexpr bool operator>(const optional<T>& x, const TU& v);
-?- Requires: The expression
-9- Effects: Equivalent to:*x > v
shall be well-formed and its result shall be convertible tobool
.return bool(x) ? *x > v : false;
template <class T, class U> constexpr bool operator>(const TU& v, const optional<T>& x);
-?- Requires: The expression
-10- Effects: Equivalent to:v > *x
shall be well-formed and its result shall be convertible tobool
.return bool(x) ? v > *x : true;
template <class T, class U> constexpr bool operator>=(const optional<T>& x, const TU& v);
-?- Requires: The expression
-11- Effects: Equivalent to:*x >= v
shall be well-formed and its result shall be convertible tobool
.return bool(x) ? *x >= v : false;
template <class T, class U> constexpr bool operator>=(const TU& v, const optional<T>& x);
-?- Requires: The expression
-12- Effects: Equivalent to:v >= *x
shall be well-formed and its result shall be convertible tobool
.return bool(x) ? v >= *x : true;
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4