Function List.opIndex
Return slice of all elements.
auto opIndex(This)() pure nothrow @nogc @system;
The slice returned may be invalidated by further calls to other member functions that modify the object.
Examples
List!(int) list = List!(int) .build(1, 2, 3);