Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
field::get_double (2 of 2 overloads)

Retrieves a reference to the underlying double value (unchecked access).

Synopsis
double&
get_double() noexcept;
Preconditions

this->is_double() == true (if violated, results in undefined behavior).

Exception safety

No-throw guarantee.

Object lifetimes

The returned reference is valid as long as *this is alive and no function that invalidates references is called on *this.


PrevUpHomeNext