value::emplace_double

Replace with a double value.

Synopsis

double&
emplace_double() noexcept;

Description

The value is replaced with a double initialized to zero, destroying the previous contents, but keeping the memeory resource.

Complexity

Linear in the size of *this.

Exception Safety

No-throw guarantee.

Return Value

this->get_double().