std::stacktrace_entry::stacktrace_entry
< cpp | utility | stacktrace entry
|
constexpr stacktrace_entry() noexcept;
|
(1) | (C++23 起) |
|
constexpr stacktrace_entry( const stacktrace_entry& other ) noexcept;
|
(2) | (C++23 起) |
1) 默认构造函数。创建空的
stacktrace_entry 。2) 复制构造函数。创建
other 的副本。参数
| other | - | 要复制的另一 stacktrace_entry |
注解
非空的 stacktrace_entry 能从 std::basic_stacktrace::current 所创建的 std::basic_stacktrace 或这种 std::basic_stacktrace 的副本获得。
示例
| 本节未完成 原因:暂无示例 |
参阅
构造拥有实现定义的值的新 source_location( std::source_location 的公开成员函数) |