staticArrayOf

Create a static array literal without any heap allocation.

staticArray() automatically deduces its type from the arguments, while staticArrayOf() lets you specify the type explicitly.

@safe pure nothrow
T[U.length]
staticArrayOf
(
T
U...
)

Meta