vibe.d beta banner
get vibe.d
0.7.30

Function AllocAppender.reserve

Grows the capacity of the internal buffer so that it can hold a minumum amount of elements.

Prototype

void reserve(
  size_t amount
);

Parameters

NameDescription
amount The minimum amount of elements that shall be appendable without triggering a re-allocation.
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.