Re:A collection of lock-free data structures written in stan...
by dnedic on Wednesday May 10, 2023 @01:24PM
(#35890477)
This is already noted in the Queue readme, only the Queue constructs the type, the other 2 data structures are meant for PODs only.
I will take a look at adding support for constructing in-place for the other 2 data structures, but at the moment, they are just for PODs.
- Using memcpy[0] for arbitrary types is just wrong, see [1]
[0] https://github.com/DNedic/lockfree/blob/main/lockfree/inc/bi...
[1] https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p11...