Boost logo

Boost :

Subject: Re: [boost] boost.lockfree update
From: John Bytheway (jbytheway+boost_at_[hidden])
Date: 2010-07-25 04:25:30


On 24/07/10 15:49, Tim Blechmann wrote:
>> 1. "Limitation: The fifo class is limited to PODs". I really would like to
>> be able to use this with arbitrary objects. I'm sure PODs are required for
>> good reason, but a rationale somewhere would be greatly appreciated.
>
> it is a limitation of the michael/scott algorithm. if you want to pass non-
> pods, you have to use heap-allocated pointers.

What exactly about PODs is it taking advantage of? In C++0x will it
work for all standard layout types?

John Bytheway


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk