BloombergLP::bdlc::Queue::reserveCapacity

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>

void
reserveCapacity(int numElements);