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

Prev Up HomeNext

void hook_result_in_place_construction(T *, in_place_type_t<U>, Args &&...) noexcept

Removed in Outcome v2.2.0, unless BOOST_OUTCOME_ENABLE_LEGACY_SUPPORT_FOR is set to less than 220 to enable emulation. Use on_result_in_place_construction(T *, in_place_type_t<U>, Args &&...) noexcept instead in new code.

One of the constructor hooks for basic_result<T, E, NoValuePolicy> , generally invoked by the in-place constructors of basic_result. See each constructor’s documentation to see which specific hook it invokes.

Overridable: By Argument Dependent Lookup.

Requires: Nothing.


Header: <boost/outcome/basic_result.hpp>

Last revised: August 19, 2020 at 12:15:40 +0100

Prev Up HomeNext