Boost logo

Boost Users :

Subject: Re: [Boost-users] [ptr_container] compiler error with BOOST_RESULT_OF_USE_DECLTYPE
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-02-25 11:33:41


On 25/02/2011 08:30, Nathan Ridge wrote:
>
> Hello,
>
> The following code:
>
> #include<boost/ptr_container/ptr_set.hpp>
> struct A
> {
> bool operator<(const A&) const;
> };
> int main()
> {
> boost::ptr_set<A> s;
> return 0;
> }
>
> gives the following compiler errors when compiling with BOOST_RESULT_OF_USE_DECLTYPE
> defined:
[...]

It's a bug yes. File a ticket.


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