...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::date_time::var_string_to_int — Helper function for parsing varied length strings into integers.
// In header: <boost/date_time/format_date_parser.hpp> template<typename int_type, typename charT> int_type var_string_to_int(std::istreambuf_iterator< charT > & itr, std::istreambuf_iterator< charT > &, unsigned int max_length);