class
exceptional_resultA class which is convertible to any result and that holds an exception which is then passed to the converted result object.
Contents
- Reference
Public functions
-
void set_exception(exception_
t exception) - Sets an exception.
-
auto get_exception() &noexcept -> exception_
t& - Returns the contained exception.
-
auto get_exception() const &noexcept -> exception_
t const & - Returns the contained exception.
-
auto get_exception() &&noexcept -> exception_
t&& - Returns the contained exception.