RefCounted.make

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

Meta