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


A customisable integral constant type true for E types which are to receive error throwing no-value policies. Special weakened implicit construction enable is available for integral T types when combined with E types in this whitelist – this permits boost_result<int, boost::system::errc::errc_t to retain its implicit constructors, despite the fact that errc_t as a C enum has an implicit conversion to int.

Overridable: By template specialisation into the trait namespace.

Default: False. Specialisations to true exist for:


Header: <boost/outcome/trait.hpp>

Last revised: October 11, 2019 at 17:03:05 +0100

Prev Up HomeNext