std::source_location::source_location
From cppreference.com
< cpp | utility | source location
constexpr source_location() noexcept; |
(1) | (since C++20) |
source_location( const source_location& other ); |
(2) | (since C++20) |
source_location( source_location&& other ) noexcept; |
(3) | (since C++20) |
1) Constructs an
source_location
object of unspecified value.2-3) Copy and move constructors. It is unspecified whether they are trivial and/or constexpr.
Parameters
other | - | another source_location to copy or move from
|
See also
[static] |
constructs a new source_location corresponding to the location of the call site (public static member function) |