SysTutorials

Linux Manual Pages › Section 3

stdexperimentalsource_locationline(3)

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

Synopsis

constexpr std::uint_least32_t line() const noexcept; (library fundamentals TS v2) Returns the line number represented by this object.

Parameters

(none)

Return value

The line number represented by this object.

Example

 This section is incomplete  Reason: no example

See also

return the column number represented by this object
column        (public member function)
return the file name represented by this object
file_name     (public member function)
return the name of the function represented by this object, if any
function_name (public member function)