Hi Ted,
 

De: boost-users-bounces@lists.boost.org [boost-users-bounces@lists.boost.org] En nombre de Ted Pederson [ted.pederson@gmail.com]
Enviado el: viernes, 09 de mayo de 2008 18:03
Para: boost-users@lists.boost.org
Asunto: [Boost-users] testing for multi_index equality
>
>Is there an easy way to test two multi_index containers for equality, c1 == c2?
 
c1 == c2 is defined to be equivalent to c1.get<0>()==c2.get<0>(), which
is defined if the first index of the container is of type ordered, sequenced or
random access; in all these cases the expression is in fact equivalent to
 
  c1.size()==c2.size()&&std::equal(c1.begin(),c1.end(),c2.begin());
 
Is this not what you had in mind?
 
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo