wren
Vulkan-based game engine
Loading...
Searching...
No Matches
std::formatter< T, char > Struct Template Reference

#include <format.hpp>

Public Member Functions

constexpr auto parse (std::format_parse_context &ctx)
auto format (const T &t, format_context &ctx) const
constexpr auto parse (format_parse_context &ctx)
auto format (const T &t, format_context &ctx) const

Private Types

using U = std::underlying_type_t<T>

Private Attributes

std::formatter< std::string_view, char > sf_
std::formatter< U, char > nf_

Member Typedef Documentation

◆ U

template<wren::DescribedStruct T>
using std::formatter< T, char >::U = std::underlying_type_t<T>
private

Member Function Documentation

◆ format() [1/2]

template<wren::DescribedStruct T>
auto std::formatter< T, char >::format ( const T & t,
format_context & ctx ) const
inline

◆ format() [2/2]

template<wren::DescribedStruct T>
auto std::formatter< T, char >::format ( const T & t,
format_context & ctx ) const
inline

◆ parse() [1/2]

template<wren::DescribedStruct T>
auto std::formatter< T, char >::parse ( format_parse_context & ctx)
inlineconstexpr

◆ parse() [2/2]

template<wren::DescribedStruct T>
auto std::formatter< T, char >::parse ( std::format_parse_context & ctx)
inlineconstexpr

Member Data Documentation

◆ nf_

template<wren::DescribedStruct T>
std::formatter<U, char> std::formatter< T, char >::nf_
private

◆ sf_

template<wren::DescribedStruct T>
std::formatter<std::string_view, char> std::formatter< T, char >::sf_
private

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