std::stacktrace_entry::source_line
Min standard notice:
Returns a 1-based line number that lexically relates to the evaluation represented by *this, or 0 on failure other than allocation failure, e.g. when *this is empty.
# Declarations
std::uint_least32_t source_line() const;
(since C++23)
# Return value
The line number specified above on success, 0 on failure other than allocation failure.
# Notes
The presumed line number is what the predefined macro LINE expands to, and can be changed by the #line directive.
This function is not required to be noexcept because getting source line requires allocation on some platforms.
# Example
This section is incompleteReason: no example