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
value::get_double (2 of 2 overloads)

Return the underlying double, without checking.

Synopsis
double
get_double() const noexcept;
Description

This is the fastest way to access the underlying representation when the kind is known in advance.

Preconditions
this->is_double()
Complexity

Constant.

Exception Safety

No-throw guarantee.


PrevUpHomeNext