Boost logo

Boost :

Subject: [boost] [atomic] Structs with default constructor
From: Marcel Raad (raad_at_[hidden])
Date: 2014-07-07 05:38:11


Boost.Atomic 1.55 accepted structs with a user-defined default constructor
as template argument, the version from the 1.56 test build doesn't (because
of the union_cast). Is this by design? I could be wrong, but I thought the
only requirement for structs to use them in atomics was that they were
trivially coyable.


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