OpenTTD Source 20250206-master-g6089ed8059
fmt::formatter< T, Char > Struct Template Reference
Inheritance diagram for fmt::formatter< T, Char >:

Public Types

using underlying_type = typename T::BaseType
 
using parent = typename fmt::formatter< underlying_type >
 

Public Member Functions

constexpr fmt::format_parse_context::iterator parse (fmt::format_parse_context &ctx)
 
fmt::format_context::iterator format (const T &t, fmt::format_context &ctx) const
 

Detailed Description

template<ConvertibleThroughBase T, typename Char>
struct fmt::formatter< T, Char >

Definition at line 33 of file format.hpp.

Member Typedef Documentation

◆ parent

template<ConvertibleThroughBase T, typename Char >
using fmt::formatter< T, Char >::parent = typename fmt::formatter<underlying_type>

Definition at line 35 of file format.hpp.

◆ underlying_type

template<ConvertibleThroughBase T, typename Char >
using fmt::formatter< T, Char >::underlying_type = typename T::BaseType

Definition at line 34 of file format.hpp.

Member Function Documentation

◆ format()

template<ConvertibleThroughBase T, typename Char >
fmt::format_context::iterator fmt::formatter< T, Char >::format ( const T &  t,
fmt::format_context &  ctx 
) const
inline

Definition at line 42 of file format.hpp.

◆ parse()

template<ConvertibleThroughBase T, typename Char >
constexpr fmt::format_parse_context::iterator fmt::formatter< T, Char >::parse ( fmt::format_parse_context &  ctx)
inlineconstexpr

Definition at line 37 of file format.hpp.


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