cerealed.scopebuffer

Members

Functions

scopeBuffer
auto scopeBuffer(T[] tmpbuf)

This is a slightly simpler way to create a ScopeBuffer instance that uses type deduction.

Structs

ScopeBuffer
struct ScopeBuffer(T, alias realloc = .realloc)

ScopeBuffer encapsulates using a local array as a temporary buffer. It is initialized with the local array that should be large enough for most uses. If the need exceeds the size, ScopeBuffer will resize it using malloc() and friends.

Meta