Unique.to

Undocumented in source. Be warned that the author may not have intended to support it.
struct Unique(T, Allocator = Mallocator)
@safe
static if(isClassOrIface!T)
Unique!(BT, Allocator)
to
(
BT
)
()
if (
isAssignable!(BT, T)
)
if (
isAllocator!Allocator &&
!isArray!T
)

Meta