Lines Matching refs:nullopt_t
25 // http://en.cppreference.com/w/cpp/utility/optional/nullopt_t
26 struct nullopt_t {
27 constexpr explicit nullopt_t(int) {}
36 constexpr nullopt_t nullopt(0);
434 constexpr Optional(nullopt_t) {} // NOLINT(runtime/explicit)
519 Optional& operator=(nullopt_t) {
733 constexpr bool operator==(const Optional<T>& opt, nullopt_t) {
738 constexpr bool operator==(nullopt_t, const Optional<T>& opt) {
743 constexpr bool operator!=(const Optional<T>& opt, nullopt_t) {
748 constexpr bool operator!=(nullopt_t, const Optional<T>& opt) {
753 constexpr bool operator<(const Optional<T>& opt, nullopt_t) {
758 constexpr bool operator<(nullopt_t, const Optional<T>& opt) {
763 constexpr bool operator<=(const Optional<T>& opt, nullopt_t) {
768 constexpr bool operator<=(nullopt_t, const Optional<T>& opt) {
773 constexpr bool operator>(const Optional<T>& opt, nullopt_t) {
778 constexpr bool operator>(nullopt_t, const Optional<T>& opt) {
783 constexpr bool operator>=(const Optional<T>& opt, nullopt_t) {
788 constexpr bool operator>=(nullopt_t, const Optional<T>& opt) {