std::undeclare_no_pointers(3)
β¨ NAME β¨
std::undeclare_no_pointers β std::undeclare_no_pointers
okay so bestie, this is the std::undeclare_no_pointers(3) page from the C++ Standard Libary manual, and itβs literally the cleanup bestie to std::declare_no_pointers(). π
β¨ Synopsis β¨
Defined in header <memory>
void undeclare_no_pointers( char *p, std::size_t n ); (since C++11)
(removed in C++23)
So this function unregisters a range that was earlier registered with std::declare_no_pointers(). Thatβs the whole plot. It existed since C++11 and got removed in C++23, so if youβre on newer C++ itβs giving βremember when?β π
πΈ Parameters πΈ
pβ pointer to the beginning of the range previously registered withstd::declare_no_pointers.nβ the number of bytes in the range, same value as previously used withstd::declare_no_pointers.
π Return value π
(none) β literally no return value, bestie. π«Ά
π«Ά Exceptions π«Ά
Throws nothing. Not a single exception. Iconic behavior. β¨
π See also π
declare_no_pointersβ declares that a memory area does not contain traceable pointers. (C++11) (function) (removed in C++23)
later, bestie π
β this cutie came from source http://cppreference.com, version/date 2024.06.10, and the manual page is std::undeclare_no_pointers(3). mwah π
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms