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 version of Boost is under active development. You are currently in the develop branch. The current version is 1.91.0.
Retrieves the contained results or throws an exception.
const results&
as_results() const&;
If *this
contains a results object
(this->has_results()
== true),
retrieves a reference to it. Otherwise, throws an exception.
Strong guarantee. Throws on invalid input.
|
Type |
Thrown On |
|---|---|
|
|
If |
The returned reference is valid as long as *this is alive and hasn't been assigned
to.