Scroll to navigation

std::experimental::source_location::source_location(3) C++ Standard Libary std::experimental::source_location::source_location(3)

NAME

std::experimental::source_location::source_location - std::experimental::source_location::source_location

Synopsis

constexpr source_location() noexcept; (1) (library fundamentals TS v2) source_location( const source_location& other ) = (2) (library fundamentals TS v2) default; (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.

Parameters

other - another source_location to copy from

See also

current constructs a new source_location [static] (public static member function)

2026.11.10 http://cppreference.com