std::experimental::source_location::source_location
From cppreference.com
< cpp | experimental | source location
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Experimental
Filesystem library (filesystem TS)
Library fundamentals (library fundamentals TS)
Library fundamentals 2 (library fundamentals TS v2)
Library fundamentals 3 (library fundamentals TS v3)
Extensions for parallelism (parallelism TS)
Extensions for parallelism 2 (parallelism TS v2)
Extensions for concurrency (concurrency TS)
Extensions for concurrency 2 (concurrency TS v2)
Concepts (concepts TS)
Ranges (ranges TS)
Reflection (reflection TS)
Mathematical special functions (special functions TR)
std::experimental::source_location
Creation
source_location::source_location
Field Access
constexpr source_location() noexcept;
(1)
(library fundamentals TS v2)
source_location( const source_location& other ) = default;
(2)
(library fundamentals TS v2) (implicitly declared)
source_location( source_location&& other ) = default;
(3)
(library fundamentals TS v2) (implicitly declared)
1) Constructs a
source_location
object whose values are implementation defined.2,3) Implicitly declared copy and move constructors.
[edit] Parameters
other
-
another
source_location
to copy from