다음을 통해 공유


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

설명

_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.)

요구 사항

헤더 <memory>

네임스페이스: std

참고 항목

참조

<memory>