Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Click here to view the latest version of this page.
PrevUpHomeNext

Class template ostream_month_formatter

boost::date_time::ostream_month_formatter — Formats a month as as string into an ostream.

Synopsis

// In header: <boost/date_time/date_formatting_locales.hpp>

template<typename facet_type, typename charT = char> 
class ostream_month_formatter {
public:
  // types
  typedef facet_type::month_type      month_type;  
  typedef std::basic_ostream< charT > ostream_type;

  // public static functions
  static void format_month(const month_type &, ostream_type &, 
                           const facet_type &) ;
};

Description

ostream_month_formatter public static functions

  1. static void format_month(const month_type & month, ostream_type & os, 
                             const facet_type & f) ;

PrevUpHomeNext