[#BloombergLP-bdlc-Queue-reserveCapacity] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/Queue.adoc[Queue]::reserveCapacity :relfileprefix: ../../../ :mrdocs: Reserve sufficient internal capacity to accommodate up to the specified `numElements` values without subsequent reallocation. Note that if `numElements <= length()`, this operation has no effect. == Synopsis Declared in `<bdlc_queue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void reserveCapacity(int numElements); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#