list

Construct List with the specified length from Input Range, inferring element type.

Examples

const auto l = list!4(repeat(42));
assert(l == [42, 42, 42, 42]);

Meta