# `uint16_t spare_storage(const basic_result|basic_outcome *) noexcept`

Returns the sixteen bits of spare storage in the specified result or outcome. You can set these bits using `void set_spare_storage(basic_result|basic_outcome *, uint16_t) 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