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 a snapshot of the develop branch, built from commit d3a81b0deb.
PrevUpHomeNext
value::get_object (3 of 3 overloads)

Return a reference to the underlying object, without checking.

Synopsis
object const&
get_object() const& noexcept;
Description

This is the fastest way to access the underlying representation when the kind is known in advance.

Preconditions
this->is_object()
Complexity

Constant.

Exception Safety

No-throw guarantee.


PrevUpHomeNext