Boost C++ Libraries 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

bool try_operation_has_value(X)

This default implementation returns whatever the .has_value() member function returns.

Requires: That the expression std::declval<T>().has_value() is a valid expression.


Header: <boost/outcome/try.hpp>

Last revised: June 20, 2019 at 11:14:48 +0100

Prev Up HomeNext