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)
    struct DList(T)
    ref
    typeof(this)
    opAssign
    (
    R
    )
    (
    ref R that
    )
    if ()
  2. typeof(this) opAssign(R that)
  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