Lines Matching refs:nullopt_t
22 struct nullopt_t { struct
23 constexpr explicit nullopt_t(int) {} in nullopt_t() argument
32 constexpr nullopt_t nullopt(0);
447 constexpr Optional(nullopt_t) {} // NOLINT(runtime/explicit)
536 Optional& operator=(nullopt_t) {
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) {
793 constexpr bool operator<=(const Optional<T>& opt, nullopt_t) {
798 constexpr bool operator<=(nullopt_t, const Optional<T>& opt) {
803 constexpr bool operator>(const Optional<T>& opt, nullopt_t) {
808 constexpr bool operator>(nullopt_t, const Optional<T>& opt) {
813 constexpr bool operator>=(const Optional<T>& opt, nullopt_t) {
818 constexpr bool operator>=(nullopt_t, const Optional<T>& opt) {