Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template operator<

boost::container::operator< — Lexicographically compares static_vectors.

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 x compares lexicographically less than y.


PrevUpHomeNext