unique_ptr.borrow

Borrows a weak reference from the shared pointer.

struct unique_ptr(T)
@nogc @trusted
borrow
()

Return Value

Type: weak_ptr!T

A new weak pointer, pointing to the same storage as the shared pointer.

Meta