Freigeben über


declare_reachable

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

void declare_reachable(
    void *_Ptr
);

Parameters

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

Remarks

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

Requirements

Header: <memory>

Namespace: std

See Also

Reference

<memory>