共用方式為


undeclare_no_pointers

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

void undeclare_no_pointers(
    char *_Ptr, 
    size_t _Size
);

Remarks

The function informs any garbage collector that the range of addresses [_Ptr, _Ptr + _Size) may now contain traceable pointers.

Requirements

Header: <memory>

Namespace: std

See Also

Reference

<memory>

Other Resources

auto_ptr Members