TData.this

DWIM constructor for creating a new instance wrapping the given data.

In the current implementation, data is always copied into the new instance, however past and future implementations may not guarantee this (wrapGC-like construction may be used opportunistically instead).

  1. this(U[] data)
    struct TData(T)
    this
    (
    U
    )
    (
    U[] data
    )
    if ()
    if (
    !hasIndirections!T
    )
  2. this(typeof(null) n)
  3. this(U[] data)
  4. this(size_t size, size_t capacity)
  5. this(Memory memory)

Meta