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