WPILibC++ 2024.3.2
formatter< std::chrono::time_point< std::chrono::system_clock, Duration >, 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::chrono::time_point< std::chrono::system_clock, Duration >, Char >:
formatter< std::tm, Char >

Public Member Functions

FMT_CONSTEXPR formatter ()
 
template<typename FormatContext >
auto format (std::chrono::time_point< std::chrono::system_clock, Duration > val, FormatContext &ctx) const -> decltype(ctx.out())
 
- Public Member Functions inherited from formatter< std::tm, Char >
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())
 

Additional Inherited Members

- Protected Member Functions inherited from formatter< std::tm, Char >
template<typename FormatContext , typename Duration >
auto do_format (const std::tm &tm, FormatContext &ctx, const Duration *subsecs) const -> decltype(ctx.out())
 
- Protected Attributes inherited from formatter< std::tm, Char >
basic_string_view< Char > format_str_
 

Constructor & Destructor Documentation

◆ formatter()

template<typename Char , typename Duration >
FMT_CONSTEXPR formatter< std::chrono::time_point< std::chrono::system_clock, Duration >, Char >::formatter ( )
inline

Member Function Documentation

◆ format()

template<typename Char , typename Duration >
template<typename FormatContext >
auto formatter< std::chrono::time_point< std::chrono::system_clock, Duration >, Char >::format ( std::chrono::time_point< std::chrono::system_clock, Duration >  val,
FormatContext &  ctx 
) const -> decltype(ctx.out())
inline

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