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_object

value::is_object

Check if this is an object.

Synopsis

bool
is_object() const noexcept;

Description

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

Complexity

Constant.

Exception Safety

No-throw guarantee.

Return Value

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