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

Function template operator>>

boost::posix_time::operator>>

Synopsis

// In header: <boost/date_time/posix_time/posix_time_legacy_io.hpp>


template<typename charT> 
  std::basic_istream< charT > & 
  operator>>(std::basic_istream< charT > & is, time_period & tp);

Description

operator>> for time_period. time_period must be in "[date time_duration/date time_duration]" format.


PrevUpHomeNext