tango.core.ArrayLiteral
Module to create stack allocated array literals
License:
BSD style:
Authors:
Pavel Sountsov
- auto ArrayLiteral(ElemTypes...)(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.
Returns:
Newly created static array.
Page generated by Ddoc. Copyright (C) 2011 Pavel Sountsov. All rights reserved.