std::source_location::source_location
< cpp | utility | source location
constexpr source_location() noexcept;
|
(1) | (C++20 起) |
source_location( const source_location& other );
|
(2) | (C++20 起) |
source_location( source_location&& other ) noexcept;
|
(3) | (C++20 起) |
1) 构造拥有未指明值的
source_location
对象。2-3) 复制与移动构造函数。它们是否为平凡和/或 constexpr 是未指定的。
参数
other | - | 用以复制或移动的另一 source_location |
参阅
[静态]
|
构造对应调用点位置的新 source_location (公开静态成员函数) |
(C++23)
|
构造新的 stacktrace_entry ( std::stacktrace_entry 的公开成员函数) |