num::call_site¶
Defined in header <core/call_site.hpp>
struct call_site;
A source location that records where a function was called.
Under GCC through 14, std::source_location::current() as a default argument of a function template records one location per specialization. A non-template constructor's default is evaluated at each call, so the templates take a call_site defaulted to {}.
Members¶
| member | description |
|---|---|
std::source_location location |
|
constexpr call_site(std::source_location where = std::source_location::current()) noexcept |