template <typename T>
scan_expected struct
An expected<T, scan_
.
Not a type alias to shorten template names.
Base classes
-
template <typename T, typename E>class expected<T, scan_error>
Public functions
- auto emplace(Args && ... args) → decltype(auto) noexcept(…)
-
auto error() & → error_
type& constexpr noexcept - Get the unexpected value, if one is contained in *this.
- auto operator*() & → U& constexpr noexcept
- Get the expected value, if one is contained in *this.
- auto value() & → U& constexpr noexcept
- Get the expected value, if one is contained in *this.
- auto value_or(U&& default_value) const & → T constexpr noexcept(…)