The OpenD Programming Language

Unique.borrow

Borrow the owned pointer. Can be @safe with DIP1000 and if used in a scope fashion.

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

Meta