cppreference.cn
创建账户
登录
命名空间
页面
讨论
变体
视图
查看
编辑
历史
操作
std::stacktrace_entry::
native_handle
来自 cppreference.cn
<
cpp
|
utility
|
stacktrace entry
C++
编译器支持
独立和宿主式
语言
标准库
标准库头文件
命名要求
功能测试宏
(C++20)
语言支持库
概念库
(C++20)
诊断库
内存管理库
元编程库
(C++11)
通用工具库
容器库
迭代器库
范围库
(C++20)
算法库
字符串库
文本处理库
数值库
日期和时间库
输入/输出库
文件系统库
(C++17)
并发支持库
(C++11)
执行控制库
(C++26)
技术规范
符号索引
外部库
[编辑]
诊断库
异常处理
异常
uncaught_exception
uncaught_exceptions
(
until C++20*
)
(C++17)
exception_ptr
(C++11)
make_exception_ptr
(C++11)
current_exception
(C++11)
rethrow_exception
(C++11)
nested_exception
(C++11)
throw_with_nested
(C++11)
rethrow_if_nested
(C++11)
异常处理失败
terminate
terminate_handler
get_terminate
(C++11)
set_terminate
bad_exception
unexpected
(
until C++17*
)
unexpected_handler
(
until C++17*
)
get_unexpected
(
until C++17*
)
set_unexpected
(
until C++17*
)
错误编号
错误码
errno
断言
assert
异常类别
logic_error
invalid_argument
domain_error
length_error
out_of_range
runtime_error
range_error
overflow_error
underflow_error
tx_exception
(TM TS)
系统错误
error_category
(C++11)
generic_category
(C++11)
system_category
(C++11)
error_condition
(C++11)
errc
(C++11)
error_code
(C++11)
system_error
(C++11)
堆栈回溯
stacktrace_entry
(C++23)
basic_stacktrace
(C++23)
调试支持
is_debugger_present
(C++26)
breakpoint_if_debugging
(C++26)
breakpoint
(C++26)
[编辑]
std::stacktrace_entry
成员函数
stacktrace_entry::stacktrace_entry
stacktrace_entry::operator=
观测器
stacktrace_entry::native_handle
stacktrace_entry::operator bool
查询
stacktrace_entry::description
stacktrace_entry::source_file
stacktrace_entry::source_line
非成员函数
operator==
operator<=>
to_string
(std::stacktrace_entry)
operator<<
辅助类
hash
<std::stacktrace_entry>
formatter
<std::stacktrace_entry>
[编辑]
constexpr
native_handle_type native_handle
(
)
const
noexcept
;
(since C++23)
返回实现定义的底层原生句柄。对于未更改的
stacktrace_entry
对象,对此函数的连续调用返回相同的值。
此函数的语义是实现定义的。
[
编辑
]
参数
(无)
[
编辑
]
返回值
底层原生句柄。
[
编辑
]
示例
本节尚不完整
原因:没有示例
分类
:
待办:没有示例