在线文档教程
C++
应用 | Utilities

std::undeclare_no_pointers

STD:未申报[医]否[医]指针

Defined in header
void undeclare_no_pointers( char *p, std::size_t n (since C++11)

取消注册之前已注册的范围。std::declare_no_pointers()...

参数

p-pointer to the beginning of the range previosly registered with std::declare_no_pointers
n-the number of bytes in the range, same value as previously used with std::declare_no_pointers

返回值

%280%29

例外

没有。

另见

declare_no_pointers (C++11)declares that a memory area does not contain traceable pointers (function)

© cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

http://en.cppreference.com/w/cpp/Memory/gc/unDeclare[医]否[医]指针