...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Retrieves the contained statement or throws an exception.
statement as_statement() const;
If *this
contains an statement (this->has_statement() == true
),
retrieves it. Otherwise, throws an exception.
Strong guarantee. Throws on invalid input.
Type |
Thrown On |
---|---|
|
If |