max0x7ba / atomic_queue

C++ lockless queue.
MIT License
1.51k stars 180 forks source link

Construct allocator-aware queues with allocator #45

Closed RedSkittleFox closed 8 months ago

RedSkittleFox commented 2 years ago

It is possible to specify an allocator type for AtomicQueueB and AtomicQueueB2 however there is no way to construct the queue with non-default constructed allocator.

max0x7ba commented 2 years ago

there is no way to construct the queue with non-default constructed allocator.

If you'd like to implement such a constructor along with a unit-test I'd be delighted to merge your pull request.

RedSkittleFox commented 9 months ago

Fixed in https://github.com/max0x7ba/atomic_queue/pull/60