Export (0) Print
Expand All

declare_no_pointers

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
);

Parameter

Description

_Ptr

Address of first character that no longer contains traceable pointers.

_Size

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

Show:
© 2014 Microsoft