Unique.this

Constructor that takes an rvalue. It will ensure uniqueness, as long as the rvalue isn't just a view on an lvalue (e.g., a cast). Typical usage:

Unique!Foo f = new Foo;
  1. this(TR p)
    struct Unique(T, ALLOC = void)
    this
    (
    inout TR p
    )
  2. this(TR p)
  3. this(Unique!U u)

Meta