cpp/experimental/source location/current

Constructs a new object.

Return value
If is invoked directly (via a function call that names ),  it returns a  object with implementation-defined values representing the location of the call. The values should be affected by the preprocessor directive in the same manner as the predefined macros  and.

If is invoked in any other manner, the return value is unspecified.

Remarks
If is used in an initializer for a non-static data member, the return value corresponds to the location of the constructor or aggregate initialization that initializes the data member.

Parameters
(none)