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

void set_spare_storage(basic_result|basic_outcome *, uint16_t) noexcept

Sets the sixteen bits of spare storage in the specified result or outcome. You can retrieve these bits later using uint16_t spare_storage(const basic_result|basic_outcome *) noexcept .

Overridable: Not overridable.

Requires: Nothing.

Namespace: BOOST_OUTCOME_V2_NAMESPACE::hooks

Header: <boost/outcome/basic_result.hpp>

Last revised: January 21, 2019 at 18:00:41 UTC


Prev Up HomeNext