std::new_handler(3)
okay so this is std::new_handler(3) from the C++ Standard Libary manual β yes bestie, thatβs the manual name right there, keep it cute π
πΈ NAME πΈ
std::new_handler - std::new_handler
Thatβs it, thatβs the name, and honestly itβs iconic π
β¨ Synopsis β¨
Defined in header <new>
typedef void (*new_handler)();
std::new_handler is the function pointer type (pointer to function that takes no arguments and returns void), which is used by the functions std::set_new_handler and std::get_new_handler.
Like literally: function pointer, no args, returns void, and itβs the type those two functions play with. Periodt. π«Ά
π See also π
operator newβ allocation functionsoperator new[]β (function)set_new_handlerβ registers a new handler (function)get_new_handlerβ obtains the current new handler (C++11) (function)
okay thatβs the whole page, bestie. source/version: http://cppreference.com, date 2024.06.10, page std::new_handler(3) β mwah, bye π
π¦ 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