std::source_location::current

来自cppreference.com
 
 
 
 
static consteval source_location current() noexcept;
(C++20 起)

构造对应于调用点的位置的新的 source_location 对象。

目录

[编辑] 参数

(无)

[