Unique.this

The allocator is a singleton, so no need to pass it in to the constructor

  1. this(Args args)
    struct Unique(Type, Allocator)
    static if(hasInstance)
    this
    (
    Args...
    )
    (
    auto ref Args args
    )
    if (
    isAllocator!Allocator
    )
  2. this(Allocator allocator, Args args)
  3. this(Unique!(T, Allocator) other)

Meta