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 an the documentation for an old version of boost. Click here for the latest Boost documentation.

Function template from_stream_type

boost::date_time::from_stream_type — Helper function for 'date gregorian::from_stream()'.


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

template<typename date_type, typename iterator_type> 
  date_type from_stream_type(iterator_type & beg, iterator_type const &, 
                             std::wstring const &);


Creates a string from the first wstring found in the stream referenced by the begining & end iterators