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

value::is_double

value::is_double

Check if this is a double.

Synopsis

bool
is_double() const noexcept;

Description

Returns true if the value’s kind() is kind::double_.

Complexity

Constant.

Exception Safety

No-throw guarantee.

Return Value

this->kind() == kind::double_.