List.opIndex

Return slice of all elements.

The slice returned may be invalidated by further calls to other member functions that modify the object.

struct List
return pure nothrow @system @nogc
opIndex
(
this This
)
()

Examples

List!(int) list = List!(int).build(1, 2, 3);

Meta