std::experimental::source_location::line

From cppreference.com
constexpr std::uint_least32_t line() const;
(library fundamentals TS v2)

Returns the line number represented by this object.

Parameters

(none)

Return value

The line number represented by this object.

Exceptions

noexcept specification:  
noexcept
  

Example

See also

return the column number represented by this object
(public member function)
return the file name represented by this object
(public member function)
return the name of the function represented by this object, if any
(public member function)
C++ documentation for Filename and line information