std::source_location(3)

NAME
std::source_location - A class that describes a location in source code.

SYNOPSIS

  Public Member Functions
constexpr uint_least32_t column () const noexcept
constexpr const char * file_name () const noexcept
constexpr const char * function_name () const noexcept
constexpr uint_least32_t line () const noexcept

  Static Public Member Functions
static consteval source_location current (__builtin_ret_type __p=__builtin_source_location()) noexcept

Detailed Description

A class that describes a location in source code.

Definition at line 42 of file source_location.

Constructor & Destructor Documentation

  constexpr std::source_location::source_location () [inline], [constexpr], [noexcept]

Definition at line 66 of file source_location.

Member Function Documentation

  constexpr uint_least32_t std::source_location::column () const [inline], [constexpr], [noexcept]

Definition at line 74 of file source_location.

  static consteval source_location std::source_location::current (__builtin_ret_type __p = __builtin_source_location()) [inline], [static], [noexcept]

Definition at line 59 of file source_location.

  constexpr const char * std::source_location::file_name () const [inline], [constexpr], [noexcept]

Definition at line 78 of file source_location.

  constexpr const char * std::source_location::function_name () const [inline], [constexpr], [noexcept]

Definition at line 82 of file source_location.

  constexpr uint_least32_t std::source_location::line () const [inline], [constexpr], [noexcept]

Definition at line 70 of file source_location.

Author

Generated automatically by Doxygen for libstdc++ from the source code.