Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
Prev Up HomeNext

auto as_failure() const &

Return the output from free function auto failure(T &&, ...) containing a copy of any errored state. The error state is accessed using const error_type &assume_error() const & noexcept .

Requires: Always available.

Complexity: Whatever that of error_type’s copy constructor is.

Guarantees: None.

Last revised: January 24, 2019 at 01:15:16 UTC


Prev Up HomeNext