max0x7ba / atomic_queue

C++ lockless queue.
MIT License
1.47k stars 176 forks source link

Allocator aware constructors #62

Closed RedSkittleFox closed 7 months ago

RedSkittleFox commented 7 months ago

Modified constructors of AtomicQueueB and AtomicQueue2B to accept constructor (default construction as default value - same design philosophy as in STL). Written tests to test allocator semantics (move-semantics were implemented before, just the constructors were missing). Tests to check if the custom allocator is used properly should be written.