Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template operator==

boost::container::operator== — Checks if contents of two static_vectors are equal.

Synopsis

// In header: <boost/container/static_vector.hpp>


template<typename V,  C1,  C2, typename O1, typename O2> 
   (static_vector<  x, 
                  static_vector<  y);

Description

Complexity. Linear O(N).

Parameters:

x

The first static_vector.

y

The second static_vector.

Returns:

true if containers have the same size and elements in both containers are equal.


PrevUpHomeNext