staticArray

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
CommonType!(T)[T.length]
staticArray
(
T...
)
if (
!is(CommonType!T == void)
)

Meta