![]() |
Home | Libraries | People | FAQ | More |
Return true
if two arrays
are equal.
Defined in header <boost/json/array.hpp>
friend bool operator==( array const& lhs, array const& rhs);
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>