...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::parse_match_result
// In header: <boost/date_time/string_parse_tree.hpp> template<typename charT> struct parse_match_result { // types typedef std::basic_string< charT > string_type; enum PARSE_STATE { PARSE_ERROR = = -1 }; // construct/copy/destruct parse_match_result(); // public member functions string_type remaining() const; charT last_char() const; bool has_remaining() const; // public data members string_type cache; unsigned short match_depth; short current_match; };