llarp::util::source_location

Public Functions

Name
constexpr source_location() =default
constexpr source_location(const source_location & ) =default
constexpr const char * file_name() const
constexpr const char * function_name() const
constexpr std::uint_least32_t line() const
constexpr std::uint_least32_t column() const
constexpr source_location current(const char * file =FILE, const char * function =func, std::uint_least32_t line =LINE, std::uint_least32_t column =0)

Public Functions Documentation

function source_location

constexpr source_location() =default

function source_location

constexpr source_location(
    const source_location & 
) =default

function file_name

inline constexpr const char * file_name() const

function function_name

inline constexpr const char * function_name() const

function line

inline constexpr std::uint_least32_t line() const

function column

inline constexpr std::uint_least32_t column() const

function current

static inline constexpr source_location current(
    const char * file =__FILE__,
    const char * function =__func__,
    std::uint_least32_t line =__LINE__,
    std::uint_least32_t column =0
)

Updated on 2026-01-10 at 22:49:45 +0000