WPILibC++ 2024.3.2
formatter< std::tm, Char > Struct Template Reference

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/fmtlib/include/fmt/chrono.h>

Inheritance diagram for formatter< std::tm, Char >:
formatter< std::chrono::time_point< std::chrono::system_clock, Duration >, Char >

Public Member Functions

FMT_CONSTEXPR auto parse (basic_format_parse_context< Char > &ctx) -> decltype(ctx.begin())
 
template<typename FormatContext >
auto format (const std::tm &tm, FormatContext &ctx) const -> decltype(ctx.out())
 

Protected Member Functions

template<typename FormatContext , typename Duration >
auto do_format (const std::tm &tm, FormatContext &ctx, const Duration *subsecs) const -> decltype(ctx.out())
 

Protected Attributes

basic_string_view< Char > format_str_
 

Member Function Documentation

◆ do_format()

template<typename Char >
template<typename FormatContext , typename Duration >
auto formatter< std::tm, Char >::do_format ( const std::tm &  tm,
FormatContext &  ctx,
const Duration *  subsecs 
) const -> decltype(ctx.out())
inlineprotected

◆ format()

template<typename Char >
template<typename FormatContext >
auto formatter< std::tm, Char >::format ( const std::tm &  tm,
FormatContext &  ctx 
) const -> decltype(ctx.out())
inline

◆ parse()

template<typename Char >
FMT_CONSTEXPR auto formatter< std::tm, Char >::parse ( basic_format_parse_context< Char > &  ctx) -> decltype(ctx.begin())
inline

Member Data Documentation

◆ format_str_

template<typename Char >
basic_string_view<Char> formatter< std::tm, Char >::format_str_
protected

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