[#BloombergLP-bdlcc-FixedQueue-2constructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/FixedQueue.adoc[FixedQueue]::FixedQueue :relfileprefix: ../../../ :mrdocs: Create a thread‐aware lock‐free queue having the specified `capacity`. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. The behavior is undefined unless `0 < capacity` and `capacity <= bdlcc::FixedQueueIndexManager::k_MAX_CAPACITY`. == Synopsis Declared in `<bdlcc_fixedqueue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit FixedQueue( std::size_t capacity, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#