ZXFoundation™ 26h2
Loading...
Searching...
No Matches
zxfoundation::sys::syschk::fmt_loc Struct Referenceexport

Bundle carrying a format-string and its call-site source location. More...

Public Member Functions

template<usize N>
consteval fmt_loc (const char(&f)[N], std::source_location l=std::source_location::current()) noexcept
 Construct from a NUL-terminated string literal.
consteval fmt_loc (std::string_view sv, std::source_location l=std::source_location::current()) noexcept
 Construct from a lib::string_view (for programmatic use).

Data Fields

std::string_view fmt
 The format string.
std::source_location loc
 Call-site source location.

Detailed Description

Bundle carrying a format-string and its call-site source location.


The documentation for this struct was generated from the following file:
  • zxfoundation/sys/syschk.zcomponent/types.cxxm