UPtr.this

Copying is disabled

struct UPtr(T, Allocator = Mallocator)
@disable
this
(
UPtr!(T, Allocator) rhs
)

Examples

const auto uniuque = newUnique!int();
assert(!__traits(compiles, unique = newUnique!int()));
assert(!__traits(compiles, unique2 = unique));

Meta