Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
bicameral::FormatWithLocation< Args > Struct Template Reference

#include <log.h>

Public Member Functions

template<typename Text>
requires std::convertible_to<const Text&, std::string_view>
consteval FormatWithLocation (const Text &pattern, std::source_location where=std::source_location::current())

Public Attributes

std::format_string< Args... > text
std::source_location location

Detailed Description

template<typename... Args>
struct bicameral::FormatWithLocation< Args >

Definition at line 129 of file log.h.

Constructor & Destructor Documentation

◆ FormatWithLocation()

template<typename... Args>
template<typename Text>
requires std::convertible_to<const Text&, std::string_view>
bicameral::FormatWithLocation< Args >::FormatWithLocation ( const Text & pattern,
std::source_location where = std::source_location::current() )
inlineconsteval

Definition at line 135 of file log.h.

References location, and text.

Member Data Documentation

◆ location

template<typename... Args>
std::source_location bicameral::FormatWithLocation< Args >::location

Definition at line 131 of file log.h.

Referenced by FormatWithLocation().

◆ text

template<typename... Args>
std::format_string<Args...> bicameral::FormatWithLocation< Args >::text

Definition at line 130 of file log.h.

Referenced by FormatWithLocation().


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