Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
declare_reachable

declare_reachable

Informs garbage collection that the indicated address is to allocated storage and is reachable.

void declare_reachable(
    void *_Ptr
);

_Ptr

A pointer to a reachable, allocated, valid storage area.

If _Ptr is not null, the function informs any garbage collector that _Ptr is hereafter reachable (points to valid allocated storage).

Header: <memory>

Namespace: std

Reference

Other Resources

Community Additions

ADD
Show:
© 2015 Microsoft