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 an older version of Boost and was released in 2024. The current version is 1.90.0.
Return true
if two arrays are equal.
Defined in header <boost/json/array.hpp>
bool operator==(arrayconst& lhs,arrayconst& rhs) noexcept;
Arrays are equal when their sizes are the same, and they are element-for-element equal in order.
return std::equal( lhs.begin(), lhs.end(), rhs.begin(), rhs.end() );
Constant or linear in lhs.size().
No-throw guarantee.
Convenience header <boost/json.hpp>