IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
fmt::formatter< T > Struct Template Reference

#include <ice/log_formatters.hxx>

Public Member Functions

template<typename ParseContext>
constexpr auto parse (ParseContext &ctx)
template<typename FormatContext>
constexpr auto format (ice::TimeType auto value, FormatContext &ctx) const noexcept

Static Public Member Functions

static constexpr auto presentation_type (ice::Ts t) noexcept
static constexpr auto presentation_type (ice::Tms t) noexcept
static constexpr auto presentation_type (ice::Tus t) noexcept
static constexpr auto presentation_type (ice::Tns t) noexcept

Public Attributes

char presentation = 'd'
ice::u8 floatingp = 0

Member Function Documentation

◆ format()

template<ice::TimeType T>
template<typename FormatContext>
auto fmt::formatter< T >::format ( ice::TimeType auto value,
FormatContext & ctx ) const
inlineconstexprnoexcept

◆ parse()

template<ice::TimeType T>
template<typename ParseContext>
auto fmt::formatter< T >::parse ( ParseContext & ctx)
inlineconstexpr

◆ presentation_type() [1/4]

template<ice::TimeType T>
constexpr auto fmt::formatter< T >::presentation_type ( ice::Tms t)
inlinestaticconstexprnoexcept

◆ presentation_type() [2/4]

template<ice::TimeType T>
constexpr auto fmt::formatter< T >::presentation_type ( ice::Tns t)
inlinestaticconstexprnoexcept

◆ presentation_type() [3/4]

template<ice::TimeType T>
constexpr auto fmt::formatter< T >::presentation_type ( ice::Ts t)
inlinestaticconstexprnoexcept

◆ presentation_type() [4/4]

template<ice::TimeType T>
constexpr auto fmt::formatter< T >::presentation_type ( ice::Tus t)
inlinestaticconstexprnoexcept

Member Data Documentation

◆ floatingp

template<ice::TimeType T>
ice::u8 fmt::formatter< T >::floatingp = 0

◆ presentation

template<ice::TimeType T>
char fmt::formatter< T >::presentation = 'd'

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