DList.opAssign

Assigns another list.

If that is passed by value, it won't be copied, but moved. This list will take the ownership over that's storage and the allocator.

If that is passed by reference, it will be copied.

  1. typeof(this) opAssign(R that)
  2. typeof(this) opAssign(R that)
    struct DList(T)
    ref
    typeof(this)
    opAssign
    (
    R
    )
    ()
    if (
    is(R == DList)
    )
  3. typeof(this) opAssign(R that)
  4. typeof(this) opAssign(T[R] that)

Parameters

R

Content type.

that R

The value should be assigned.

Return Value

Type: typeof(this)

$(D_KEYWORD this).

Meta