std::source_location(3cxx)

std::source_location3cxx

A class that describes a location in source code.

Usage

#include <source_location>

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.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

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

From libstdc++-12-doc 12.4.0-5 in Debian 13 (Trixie). Also shipped by libstdc++-13-doc. Parsed by carta from the page's man source.