首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

std::new_handler

Defined in header <new>

typedef void (*new_handler)();

std::new_handler函数指针类型%28指向函数,它不带参数并返回void%29,函数使用它std::set_new_handlerstd::get_new_handler...

另见

operator newoperator new[]

allocation functions (function)

set_new_handler

registers a new handler (function)

get_new_handler (C++11)

obtains the current new handler (function)

代码语言:txt
复制
 © cppreference.com

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

扫码关注腾讯云开发者

领取腾讯云代金券