mir.array.allocation

Functions and types that manipulate built-in arrays and associative arrays.

This module provides all kinds of functions to create, manipulate or convert arrays:

Function NameDescription
_arrayReturns a copy of the input in a newly allocated dynamic array.

Members

Functions

array
auto array(Range r)

Allocates an array and initializes it with copies of the elements of range r.

Meta

License

Apache-2.0

Authors

Andrei Alexandrescu and Jonathan M Davis