Unique.this

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

  1. this(Args args)
    struct Unique(Type, Allocator = typeof(theAllocator()), Flag!"supportGC" supportGC = Flag!"supportGC".yes)
    static if(isGlobal)
    this
    (
    Args...
    )
    (
    auto ref Args args
    )
    if (
    isAllocator!Allocator
    )
  2. this(Allocator allocator, Args args)
  3. this(Unique!(T, Allocator) other)

Meta