Namespaces
Variants
Views
Actions

std::source_location::source_location

From cppreference.com
 
 
 
 
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.

[edit] Parameters

other - another source_location to copy or move from

[edit] See also

[static]
constructs a new source_location corresponding to the location of the call site
(public static member function) [edit]