SList.this

Constructs a qualified singly linked list out of an input range. Because no allocator was provided, the list will use the GCAllocator.std.experimental.allocator..

  1. this(A allocator)
  2. this(U[] values)
  3. this(A allocator, U[] values)
  4. this(Stuff stuff)
    struct SList(T)
    this
    (
    Stuff
    this Q
    )
    (
    Stuff stuff
    )
    if (
    isInputRange!Stuff &&
    isImplicitlyConvertible!(ElementType!Stuff, T)
    &&
    !is(Stuff == T[])
    )
  5. this(A allocator, Stuff stuff)

Parameters

stuff Stuff

an input range of elements that are implitictly convertible to T

Complexity: O(m), where m is the number of elements in the range.

Meta