36 template <
class TValue>
58 constexpr
explicit operator bool()
const {
63 constexpr TValue
value_or(TValue valueIfInvalid)
const {
constexpr unexpected_t unexpected
constexpr expected(UnexpectedCode code)
constexpr TValue value_or(TValue valueIfInvalid) const
constexpr expected(TValue validValue)
constexpr expected(const unexpected_t &)
bool operator==(const expected< TValue > &other) const