Boost logo

Boost :

Subject: Re: [boost] [lockfree] crash in queue
From: Tim Blechmann (tim_at_[hidden])
Date: 2013-01-24 10:41:15


>> > didn't test your code, but i'm pretty sure that boost::function is
>> > violating the requirements of the lockfree queue:
>> > * trivial copy constructor
>> > * trivial assignment
>> > * trivial destructor
> Can these requirements be enforced with static_asserts or concept checks?

i haven't merged that commit from trunk to release, as it is not exactly
a bug fix, but maybe i should ...

tim


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