This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.