![]() |
Home | Libraries | People | FAQ | More |
Retrieves the contained results or throws an exception.
results&& as_results();
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.