Export (0) Print
Expand All


Informs a garbage collector that the characters in the memory block defined by a base address pointer and block size contains no traceable pointers.

void declare_no_pointers(
    char *_Ptr, 
    size_t _Size




Address of first character that no longer contains traceable pointers.


Size of block that starts at _Ptr that contains no traceable pointers.

The function informs any garbage collector that the range of addresses [_Ptr, _Ptr + _Size) no longer contain traceable pointers. (Any pointers to allocated storage must not be dereferenced unless made reachable.)

Header: <memory>

Namespace: std

© 2014 Microsoft