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

PrevUpHomeNext
stage_response::as_statement

Retrieves the contained statement or throws an exception.

Synopsis
statement
as_statement() const;
Description

If *this contains an statement (this->has_statement() == true), retrieves it. Otherwise, throws an exception.

Exception safety

Strong guarantee. Throws on invalid input.

Exceptions

Type

Thrown On

std::invalid_argument

If *this does not contain a statement.


PrevUpHomeNext