flod ~master (2016-03-15T07:39:31Z)
Dub
Repo
MovingBuffer.alloc
flod
buffer
MovingBuffer
Allocates space for at least
n
new objects of type
T
to be written to the buffer.
struct
MovingBuffer
(Allocator = Mallocator)
T
[]
alloc
(
T
)
(
size_t
n
)
Meta
Source
See Implementation
flod
buffer
MovingBuffer
constructors
this
destructors
~this
functions
alloc
commit
consume
opAssign
peek
postblits
this(this)
Allocates space for at least n new objects of type T to be written to the buffer.