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 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 & end, char);


Creates a string from the iterators that reference the begining & end of a char[] or string. All elements are used in output string