std::source_location(3) Library Functions Manual std::source_location(3)

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

#include <source_location>


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 consteval source_location current (__builtin_ret_type __p=__builtin_source_location()) noexcept

A class that describes a location in source code.

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

libstdc++