Boost logo

Boost Users :

Subject: Re: [Boost-users] [interprocess] set doesn't work when key_type is pointer.
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2011-03-26 19:14:14


El 26/03/2011 15:13, skywalker escribió:
> Hello all,
>
> It seems that boost::interprocess::set won't compile if the key_type is pointer.
> However, bip::vector or std::set works fine.
> I'm using g++ 4.5.2 and boost 1.46.0 with linux 2.6.37.
> Here is my code:
> // compile command: g++ a.cpp -lboost_thread
>

It seems this is an error in Boost.Intrusive, that creates ambiguous
comparison functors, when pointer type is implicitly convertible from
raw pointers.

I'll try to fix it ASAP.


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