Boost logo

Boost :

Subject: [boost] [Lockfree] has_trivial_destructor and has_trivial_assign restrictions
From: Dan Dillon (DDillon_at_[hidden])
Date: 2014-10-28 08:01:39


I've been doing some thinking about this, and to my untrained eye these restrictions do not seem to be a requirement of the lock-free structure.

That is to say, they need not be atomic anyhow, so why does it matter if they are trivial or not?

The question goes to making the data structures more globally useful. The more structures they can be used with, the better they are (at least in my opinion).

Thanks,

Dan


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