|
| constexpr | value_result_t (ArgTypes &&... args) noexcept(std::is_nothrow_constructible< void, ArgTypes... >::value) |
| | Construct the stored value from the specified arguments.
|
| |
| constexpr | value_result_t (value_result_t &&)=default |
| | Move constructor.
|
| |
| constexpr | value_result_t (value_result_t const &)=default |
| | Copy constructor.
|
| |
| | ~value_result_t ()=default |
| | destructor
|
| |
| constexpr | operator result< void, Error > () &&noexcept(noexcept(result< void, Error >(in_place_value, std::declval< void && >()))) |
| | Instantiates a result<ValueType,Error> from the contained value instance. Consumes the container.
|
| |
| constexpr | operator result< void, Error > () const &noexcept(noexcept(result< void, Error >(in_place_value, std::declval< void const & >()))) |
| | Instantiates a result<ValueType,Error> from the contained value instance. Consumes the container.
|
| |
| template<typename Error> |
| constexpr | operator result< void, Error > () noexcept |
| | Instantiates a result<Value,Error> from the contained value instance. Consumes the container.
|
| |
| constexpr auto | operator= (value_result_t &&) -> value_result_t &=default |
| | Move constructor.
|
| |
| constexpr auto | operator= (value_result_t const &) -> value_result_t &=default |
| | Copy assignment.
|
| |
Intermediary type for constructing a result with a void value.
- Note
- Generally this should not be constructed manually; it intended as a transient type that allow to construct a
result Object while using type deduction for value_type and error_type .
- See also
arene::base::value_result for the factory function that should be used in user code.