<source_location> (C++20)
cppreference.com
(C++20) |
, , , () |
namespace std {
struct source_location;
}
std::source_location
namespace std {
struct source_location {
//
static consteval source_location current() noexcept;
constexpr source_location() noexcept;
//
constexpr uint_least32_t line() const noexcept;
constexpr uint_least32_t column() const noexcept;
constexpr const char* file_name() const noexcept;
constexpr const char* function_name() const noexcept;
private:
uint_least32_t line_; //
uint_least32_t column_; //
const char* file_name_; //
const char* function_name_; //
};
}