The OpenD Programming Language

Unique.unique

Releases ownership and transfers it to the returned Unique object.

struct Unique(UniqueType, Allocator = typeof(theAllocator()), Flag!"supportGC" supportGC = gcExists ? Flag!"supportGC".yes : Flag!"supportGC".no)
unique
()
if (
isAllocator!Allocator
)

Meta