vibe.d beta banner
get vibe.d
0.7.30

Struct AllocAppender

Template arguments

struct AllocAppender(ArrayType, E);

Constructors

Name Description
this

Fields

Name Type Description
m_alloc Allocator
m_allocatedBuffer bool
m_data AllocAppender.ElemType[]
m_remaining AllocAppender.ElemType[]

Properties

Name Type Description
data [get] ArrayType

Methods

Name Description
grow
put
put
reserve Grows the capacity of the internal buffer so that it can hold a minumum amount of elements.
reset

Aliases

Name Description
ElemType
Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.