Namespaces
Variants

std::stacktrace_entry:: stacktrace_entry

From cppreference.net
constexpr stacktrace_entry ( ) noexcept ;
(1) (自 C++23 起)
constexpr stacktrace_entry ( const stacktrace_entry & other ) noexcept ;
(2) (自 C++23 起)
1) 默认构造函数。创建一个空的 stacktrace_entry
2) 复制构造函数。创建 other 的副本。

目录

参数

其他 - 用于复制的另一个 stacktrace_entry

注释

一个非空的 stacktrace_entry 可以从通过 std::basic_stacktrace::current 创建的 std::basic_stacktrace 或其副本中获取。

示例

参见

构造具有实现定义值的 source_location 对象
( std::source_location 的公开成员函数)