Boost logo

Boost Users :

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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net