Rosetta
Public Member Functions | Private Attributes | List of all members
formatter< T, Char, enable_if_t< detail::type_constant< T, Char >::value !=detail::type::custom_type > > Struct Template Reference

#include <format.h>

Public Member Functions

FMT_CONSTEXPR formatter ()=default
 
template<typename ParseContext >
FMT_CONSTEXPR auto parse (ParseContext &ctx) -> decltype(ctx.begin())
 
template<typename FormatContext >
auto format (const T &val, FormatContext &ctx) -> decltype(ctx.out())
 

Private Attributes

detail::dynamic_format_specs< Char > specs_
 

Constructor & Destructor Documentation

◆ formatter()

template<typename T , typename Char >
FMT_CONSTEXPR formatter< T, Char, enable_if_t< detail::type_constant< T, Char >::value !=detail::type::custom_type > >::formatter ( )
default

Member Function Documentation

◆ format()

template<typename T , typename Char >
template<typename FormatContext >
auto formatter< T, Char, enable_if_t< detail::type_constant< T, Char >::value !=detail::type::custom_type > >::format ( const T val,
FormatContext &  ctx 
) -> decltype(ctx.out())
inline

◆ parse()

template<typename T , typename Char >
template<typename ParseContext >
FMT_CONSTEXPR auto formatter< T, Char, enable_if_t< detail::type_constant< T, Char >::value !=detail::type::custom_type > >::parse ( ParseContext &  ctx) -> decltype(ctx.begin())
inline

Member Data Documentation

◆ specs_

template<typename T , typename Char >
detail::dynamic_format_specs<Char> formatter< T, Char, enable_if_t< detail::type_constant< T, Char >::value !=detail::type::custom_type > >::specs_
private

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