tango.core.ArrayLiteral

Module to create stack allocated array literals

Members

Functions

ArrayLiteral
auto ArrayLiteral(ElemTypes elems)

Creates a static array composed of passed elements. Note that the array is allocated on the stack, so care should be taken not to let slices of it escape from functions.

Meta

License

BSD style: $(LICENSE)

Authors

Pavel Sountsov