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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
value::operator==

Return true if two values are equal.

Synopsis

Defined in header <boost/json/value.hpp>

friend bool
operator==(
    value const& lhs,
    value const& rhs);
Description

Two values are equal when they are the same kind and their referenced values are equal, or when they are both integral types and their integral representations are equal.

Complexity

Constant or linear in the size of the array, object, or string.

Exception Safety

No-throw guarantee.

Convenience header <boost/json.hpp>


PrevUpHomeNext