The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
CyclicBuffer.reserve
containers
cyclicbuffer
CyclicBuffer
Ensures capacity is at least as large as specified.
struct
CyclicBuffer
(T, Allocator = Mallocator, bool supportGC = shouldAddGCRange!T)
size_t
reserve
(
size_t
newCapacity
)
Meta
Source
See Implementation
containers
cyclicbuffer
CyclicBuffer
aliases
insert
insertAnywhere
opDollar
popBack
popFront
put
constructors
this
functions
back
capacity
clear
empty
front
insertBack
insertFront
length
opIndex
opSlice
removeBack
removeFront
reserve
structs
Range
Ensures capacity is at least as large as specified.