static constexpr source_location current() noexcept;
|(library fundamentals TS v2)|
Constructs a new
current() is invoked directly (via a function call that names
current()), it returns a
source_location object with implementation-defined values representing the location of the call. The values should be affected by the
#line preprocessor directive in the same manner as the predefined macros __LINE__ and __FILE__.
current() is invoked in any other manner, the return value is unspecified.
current() is used in a default argument, the return value will correspond to the location of the call to
current() at the call site.
| constructs a new |
(public member function)