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 2024. The current version is 1.89.0.
Retrieves a reference to the underlying double
value or throws an exception.
const double& as_double() const;
Strong guarantee. Throws on type mismatch.
|
Type |
Thrown On |
|---|---|
|
|
If |
The returned reference is valid as long as *this is alive and no function that invalidates
references is called on *this.