Export (0) Print
Expand All

undeclare_reachable

Informs a garbage_collector that a specified memory location is not reachable.

template<class Type>
    Type *undeclare_reachable(Type *_Ptr);

Parameter

Description

_Ptr

A pointer to the memory address to be declared not reachable.

Returns a pointer to the specified memory location.

If _Ptr is not null, the function informs any garbage collector that _Ptr is hereafter not reachable. It returns a safely derived pointer that compares equal to _Ptr.

Header: <memory>

Namespace: std

Show:
© 2014 Microsoft