Lines Matching defs:nullopt_t
19 // http://en.cppreference.com/w/cpp/utility/optional/nullopt_t
20 struct nullopt_t {
21 constexpr explicit nullopt_t(int) {}
30 constexpr nullopt_t nullopt(0);
125 constexpr Optional(nullopt_t) {}
149 Optional& operator=(nullopt_t) {
364 constexpr bool operator==(const Optional<T>& opt, nullopt_t) {
369 constexpr bool operator==(nullopt_t, const Optional<T>& opt) {
374 constexpr bool operator!=(const Optional<T>& opt, nullopt_t) {
379 constexpr bool operator!=(nullopt_t, const Optional<T>& opt) {
384 constexpr bool operator<(const Optional<T>& opt, nullopt_t) {
389 constexpr bool operator<(nullopt_t, const Optional<T>& opt) {
394 constexpr bool operator<=(const Optional<T>& opt, nullopt_t) {
399 constexpr bool operator<=(nullopt_t, const Optional<T>& opt) {
404 constexpr bool operator>(const Optional<T>& opt, nullopt_t) {
409 constexpr bool operator>(nullopt_t, const Optional<T>& opt) {
414 constexpr bool operator>=(const Optional<T>& opt, nullopt_t) {
419 constexpr bool operator>=(nullopt_t, const Optional<T>& opt) {