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

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Class template ostream_time_formatter

boost::date_time::ostream_time_formatter —

Put a time type into a stream using appropriate facets.

Synopsis

template<typename time_type, typename charT = char> 
class ostream_time_formatter {
public:
  // types
  typedef std::basic_ostream< charT >                                  ostream_type;      
  typedef time_type::date_type                                         date_type;         
  typedef time_type::time_duration_type                                time_duration_type;
  typedef ostream_time_duration_formatter< time_duration_type, charT > duration_formatter;

  // public static functions
  void time_put(const time_type &, ostream_type &) ;
};

Description

ostream_time_formatter public static functions

  1. void time_put(const time_type & t, ostream_type & os) ;

    Put time into an ostream.

Copyright © 2001-2004 CrystalClear Software, Inc

PrevUpHomeNext