[#BloombergLP-bdlcc-SingleConsumerQueueImpl-2constructor-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/SingleConsumerQueueImpl.adoc[SingleConsumerQueueImpl]::SingleConsumerQueueImpl :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<bdlcc_singleconsumerqueueimpl.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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/bdlcc/SingleConsumerQueueImpl/2constructor-0d.adoc[SingleConsumerQueueImpl](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlcc/SingleConsumerQueueImpl/2constructor-0d.adoc[_» more..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/bdlcc/SingleConsumerQueueImpl/2constructor-06.adoc[SingleConsumerQueueImpl]( std::size_t capacity, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlcc/SingleConsumerQueueImpl/2constructor-06.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#