List.this

Constructs a bidirectional List object from range of elements.

Examples

import std.range : iota;
{
    List!(int) list = iota(0, 5);
    assert(list == [0, 1, 2, 3, 4]);
}

Meta