Boost C++ Libraries 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.

Function template operator<<

boost::gregorian::operator<< — operator<< for gregorian::date_period typical output: [2002-Jan-01/2002-Jan-31]


template<typename charT, typename traits> 
std::basic_ostream< charT, traits > & 
operator<<(std::basic_ostream< charT, traits > & os, const date_period & dp);


Uses the date facet to determine output string as well as selection of long or short string fr dates. Default if no facet is installed is to output a 3 char english string for the day of the week.

Copyright 2001-2005 CrystalClear Software, Inc