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 an older version of Boost and was released in 2022. The current version is 1.90.0.
Return a reference to the underlying string,
or throw an exception.
string& as_string();
If is_string()
is true, returns a reference
to the underlying string, otherwise throws an
exception.
Constant.
Strong guarantee.
|
Type |
Thrown On |
|---|---|
|
|
|