Lines Matching full:e
26 template <class E>
29 explicit Unexpected(E e) noexcept(std::is_nothrow_move_constructible_v<E>) : e_(std::move(e)) {} in Unexpected() argument
31 const E &Value() const &noexcept in Value()
35 E &Value() & noexcept in Value()
39 E &&Value() && noexcept in Value()
50 E e_;
64 // Expected with T or E for a reference type is ill-formed.
65 template <class T, class E>
76 …Expected(Unexpected<E> e) noexcept(std::is_nothrow_move_constructible_v<E>) : v_(std::move(e.Value… in noexcept() argument
87 const E &Error() const &noexcept(ExpectedConfig::RELEASE) in Error()
90 return std::get<E>(v_); in Error()
92 E &Error() & noexcept(ExpectedConfig::RELEASE) in Error()
95 return std::get<E>(v_); in Error()
97 E &&Error() && noexcept(ExpectedConfig::RELEASE) in Error()
100 return std::move(std::get<E>(v_)); in Error()
156 std::variant<T, E> v_;