value::get_double

Return a reference to the underlying double, without checking.

Synopsis

double&
get_double() noexcept; (1)

double
get_double() const noexcept; (2)

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.