Boost logo

Boost Users :

Subject: Re: [Boost-users] [Tuple] Problem with operator== and tuples
From: Michael Olea (oleaj_at_[hidden])
Date: 2009-03-25 20:57:51

On Mar 25, 2009, at 5:36 PM, Dominique Devienne wrote:

> I'm trying to compare two tuple instances of the same type (indirectly
> by doing an == on std::set's of them), but this doesn't compile for
> me. The Tuple doc seems to indicate comparisons are supported. What am
> I missing? Thanks, --DD

You probably neglected to include:

#include "boost/tuple/tuple_comparison.hpp"

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at