automem.vector

Dynamic arrays with deterministic memory usage akin to C++'s std::vector or Rust's std::vec::Vec

Members

Aliases

String
alias String = StringA!(typeof(theAllocator))
Undocumented in source.
StringM
alias StringM = StringA!Mallocator
Undocumented in source.

Classes

BoundsException
class BoundsException
Undocumented in source.

Enums

isAllocator
eponymoustemplate isAllocator(T)
Undocumented in source.

Functions

checkAllocator
void checkAllocator()
Undocumented in source. Be warned that the author may not have intended to support it.
vector
auto vector(E[] elements)
auto vector(A allocator, E[] elements)

Create a vector from a variadic list of elements, inferring the type of the elements and the allocator

vector
auto vector(R range)
auto vector(A allocator, R range)

Create a vector from an input range, inferring the type of the elements and the allocator.

Structs

Vector
struct Vector(E, Allocator = typeof(theAllocator))

A dynamic array with deterministic memory usage akin to C++'s std::vector or Rust's std::vec::Vec

Templates

StringA
template StringA(A = typeof(theAllocator))
Undocumented in source.

Meta