unique_ptr.this

Constructs a shared_ptr with the given memory address.

  1. this(Ref!T ptr)
    struct unique_ptr(T)
    @nogc @system
    this
    ()
    (
    Ref!T ptr
    )
    if (
    !is(Ref!T == typeof(this))
    )
  2. this(inout(typeof(this)) src)

Meta