Subject: Re: [Boost-users] [ptr_container] compiler error with BOOST_RESULT_OF_USE_DECLTYPE
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2011-02-25 05:57:07


On 2/25/2011 8:30 AM, Nathan Ridge wrote:
>
> Hello,
>
> The following code:
>
> #include<boost/ptr_container/ptr_set.hpp>
> struct A
> {
> bool operator<(const A&) const;
> };

The compiler is pretty clear about it. Define

   bool operator<( const A&, const A& );

-Thorsten