Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
uni20::display::format_string< Args > Struct Template Reference

Compile-time checked display format string with call-site metadata. More...

#include <display.hpp>

Public Member Functions

template<typename String >
consteval format_string (String const &value, std::source_location location=std::source_location::current())
 

Public Attributes

fmt::format_string< Args... > format
 
std::source_location where
 

Detailed Description

template<typename... Args>
struct uni20::display::format_string< Args >

Compile-time checked display format string with call-site metadata.

Constructor & Destructor Documentation

◆ format_string()

template<typename... Args>
template<typename String >
consteval uni20::display::format_string< Args >::format_string ( String const &  value,
std::source_location  location = std::source_location::current() 
)
inline

Member Data Documentation

◆ format

template<typename... Args>
fmt::format_string<Args...> uni20::display::format_string< Args >::format

◆ where

template<typename... Args>
std::source_location uni20::display::format_string< Args >::where

The documentation for this struct was generated from the following file: