undeclare_reachable
Informs a garbage_collector that a specified memory location is not reachable.
template<class Type>
Type *undeclare_reachable(Type *_Ptr);
Parameters
Parameter |
Description |
---|---|
_Ptr |
A pointer to the memory address to be declared not reachable. |
Property Value/Return Value
Returns a pointer to the specified memory location.
Remarks
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.
Requirements
Header: <memory>
Namespace: std