...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::date_time::month_formatter — Formats a month as as string into an ostream.
// In header: <boost/date_time/date_formatting.hpp> template<typename month_type, typename format_type, typename charT = char> class month_formatter { public: // public static functions static ostream_type & format_month(const month_type &, ostream_type &) ; static std::ostream & format_month(const month_type &, std::ostream &) ; };
month_formatter
public static functionsstatic ostream_type & format_month(const month_type & month, ostream_type & os) ;Formats a month as as string into an ostream.
This function demands that month_type provide functions for converting to short and long strings if that capability is used.
static std::ostream & format_month(const month_type & month, std::ostream & os) ;Formats a month as as string into an ostream.
This function demands that month_type provide functions for converting to short and long strings if that capability is used.