Lines Matching defs:noexcept
29 explicit Unexpected(E e) noexcept(std::is_nothrow_move_constructible_v<E>) : e_(std::move(e)) {}
31 const E &Value() const &noexcept
35 E &Value() & noexcept
39 E &&Value() && noexcept
69 Expected() noexcept : v_(T())
74 Expected(T v) noexcept(std::is_nothrow_move_constructible_v<T>) : v_(std::move(v)) {}
76 Expected(Unexpected<E> e) noexcept(std::is_nothrow_move_constructible_v<E>) : v_(std::move(e.Value())) {}
78 bool HasValue() const noexcept
82 explicit operator bool() const noexcept
87 const E &Error() const &noexcept(ExpectedConfig::RELEASE)
92 E &Error() & noexcept(ExpectedConfig::RELEASE)
97 E &&Error() && noexcept(ExpectedConfig::RELEASE)
103 const T &Value() const &noexcept(ExpectedConfig::RELEASE)
110 T &Value() & noexcept(ExpectedConfig::RELEASE)
115 T &&Value() && noexcept(ExpectedConfig::RELEASE)
120 const T &operator*() const &noexcept(ExpectedConfig::RELEASE)
124 T &operator*() & noexcept(ExpectedConfig::RELEASE)
128 T &&operator*() && noexcept(ExpectedConfig::RELEASE)