Unique.this

Non-singleton allocator, must be passed in

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

Meta