Constructors
Synopses
Declared in <bdlcc_singleproducerqueueimpl.h>
Create a thread‐aware queue. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.
explicit
SingleProducerQueueImpl(bslma::Allocator* basicAllocator = 0);
Create a thread‐aware queue with, at least, the specified capacity. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.
SingleProducerQueueImpl(
std::size_t capacity,
bslma::Allocator* basicAllocator = 0);
Created with MrDocs