template <class T> constexpr bool operator==(const optional<T>& x, const T& v);
Effects: Equivalent to: return bool(x) ? *x == v : false;
template <class T> constexpr bool operator==(const T& v, const optional<T>& x);
Effects: Equivalent to: return bool(x) ? v == *x : false;
template <class T> constexpr bool operator!=(const optional<T>& x, const T& v);
Effects: Equivalent to: return bool(x) ? *x != v : true;
template <class T> constexpr bool operator!=(const T& v, const optional<T>& x);
Effects: Equivalent to: return bool(x) ? v != *x : true;
template <class T> constexpr bool operator<(const optional<T>& x, const T& v);
Effects: Equivalent to: return bool(x) ? *x < v : true;
template <class T> constexpr bool operator<(const T& v, const optional<T>& x);
Effects: Equivalent to: return bool(x) ? v < *x : false;
template <class T> constexpr bool operator<=(const optional<T>& x, const T& v);
Effects: Equivalent to: return bool(x) ? *x <= v : true;
template <class T> constexpr bool operator<=(const T& v, const optional<T>& x);
Effects: Equivalent to: return bool(x) ? v <= *x : false;
template <class T> constexpr bool operator>(const optional<T>& x, const T& v);
Effects: Equivalent to: return bool(x) ? *x > v : false;
template <class T> constexpr bool operator>(const T& v, const optional<T>& x);
Effects: Equivalent to: return bool(x) ? v > *x : true;
template <class T> constexpr bool operator>=(const optional<T>& x, const T& v);
Effects: Equivalent to: return bool(x) ? *x >= v : false;
template <class T> constexpr bool operator>=(const T& v, const optional<T>& x);
Effects: Equivalent to: return bool(x) ? v >= *x : true;