Unique.make

Undocumented in source. Be warned that the author may not have intended to support it.
  1. Unique!(T, Allocator) make(Args args)
  2. Unique!(T, Allocator) make(Allocator alloc, Args args)
    struct Unique(T, Allocator = Mallocator)
    static @trusted
    static if(!(is(T == interface) || isAbstractClass!(T)))
    static if(!(!HoldsAllocator))
    Unique!(T, Allocator)
    make
    (
    Args...
    )
    (
    auto ref Allocator alloc
    ,
    auto ref Args args
    )
    if (
    isAllocator!Allocator &&
    !isArray!T
    )

Meta