list

Construct List from slice.

Examples

auto v = list([1, 2, 3]);
assert(v == [1, 2, 3]);

Meta