17 Language support library [support]

17.8 Source location [support.srcloc]

17.8.2 Class source_­location [support.srcloc.class]

17.8.2.3 Observers [support.srcloc.obs]

constexpr uint_least32_t line() const noexcept;
Returns: line_­.
constexpr uint_least32_t column() const noexcept;
Returns: column_­.
constexpr const char* file_name() const noexcept;
Returns: file_­name_­.
constexpr const char* function_name() const noexcept;
Returns: function_­name_­.