Lines Matching refs:__val

437   _LIBCPP_HIDE_FROM_ABI constexpr _Tp& __val() { return __repr_.__v.__union_.__v.__val_; }
438 …_LIBCPP_HIDE_FROM_ABI constexpr const _Tp& __val() const { return __repr_.__v.__union_.__v.__val_;…
636 this->__val() = __rhs.__val();
638 __reinit_expected<unexpect_t, in_place_t, _Err, _Tp>(this->__val(), __rhs.__unex());
640 __reinit_expected<in_place_t, unexpect_t, _Tp, _Err>(this->__unex(), __rhs.__val());
655 this->__val() = std::move(__rhs.__val());
657 … __reinit_expected<unexpect_t, in_place_t, _Err, _Tp>(this->__val(), std::move(__rhs.__unex()));
659 … __reinit_expected<in_place_t, unexpect_t, _Tp, _Err>(this->__unex(), std::move(__rhs.__val()));
674 this->__val() = std::forward<_Up>(__v);
696 __reinit_expected<unexpect_t, in_place_t, _Err, _Tp>(this->__val(), __un.error());
707 __reinit_expected<unexpect_t, in_place_t, _Err, _Tp>(this->__val(), std::move(__un.error()));
719 return this->__val();
727 return this->__val();
744 __with_err.__construct(in_place, std::move(__with_val.__val()));
752 _Tp __tmp(std::move(__with_val.__val()));
765 swap(this->__val(), __rhs.__val());
789 return std::addressof(this->__val());
795 return std::addressof(this->__val());
801 return this->__val();
807 return this->__val();
813 return std::move(this->__val());
819 return std::move(this->__val());
831 return this->__val();
839 return this->__val();
848 return std::move(this->__val());
857 return std::move(this->__val());
888 return this->__has_val() ? this->__val() : static_cast<_Tp>(std::forward<_Up>(__v));
895 return this->__has_val() ? std::move(this->__val()) : static_cast<_Tp>(std::forward<_Up>(__v));
925 return std::invoke(std::forward<_Func>(__f), this->__val());
938 return std::invoke(std::forward<_Func>(__f), this->__val());
952 return std::invoke(std::forward<_Func>(__f), std::move(this->__val()));
966 return std::invoke(std::forward<_Func>(__f), std::move(this->__val()));
979 return _Gp(in_place, this->__val());
992 return _Gp(in_place, this->__val());
1006 return _Gp(in_place, std::move(this->__val()));
1020 return _Gp(in_place, std::move(this->__val()));
1034 __expected_construct_in_place_from_invoke_tag{}, std::forward<_Func>(__f), this->__val());
1036 std::invoke(std::forward<_Func>(__f), this->__val());
1050 __expected_construct_in_place_from_invoke_tag{}, std::forward<_Func>(__f), this->__val());
1052 std::invoke(std::forward<_Func>(__f), this->__val());
1066 …expected_construct_in_place_from_invoke_tag{}, std::forward<_Func>(__f), std::move(this->__val()));
1068 std::invoke(std::forward<_Func>(__f), std::move(this->__val()));
1082 …expected_construct_in_place_from_invoke_tag{}, std::forward<_Func>(__f), std::move(this->__val()));
1084 std::invoke(std::forward<_Func>(__f), std::move(this->__val()));
1096 return expected<_Tp, _Gp>(in_place, this->__val());
1108 return expected<_Tp, _Gp>(in_place, this->__val());
1120 return expected<_Tp, _Gp>(in_place, std::move(this->__val()));
1133 return expected<_Tp, _Gp>(in_place, std::move(this->__val()));
1147 return __x.__val() == __y.__val();
1156 return __x.__has_val() && static_cast<bool>(__x.__val() == __v);