Here's the promised patch, will be in cvs shortly:
John,
$ cvs diff -u
johnmaddock@cvs.boost.sourceforge.net's password:
cvs diff: Diffing .
Index: regex_iterator.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/regex/v4/regex_iterator.hpp,v
retrieving revision 1.9
diff -u -r1.9 regex_iterator.hpp
--- regex_iterator.hpp 5 Dec 2003 13:00:58 -0000 1.9
+++ regex_iterator.hpp 25 Feb 2004 12:18:01 -0000
@@ -76,6 +76,14 @@
class traits = regex_traits<charT>,
class Allocator = BOOST_DEFAULT_ALLOCATOR(charT) > class
regex_iterator
+#ifndef BOOST_NO_STD_ITERATOR
+ : public std::iterator<
+ std::forward_iterator_tag,
+ match_results<BidirectionalIterator>,
+ typename
re_detail::regex_iterator_traits<BidirectionalIterator>::difference_type,
+ const match_results<BidirectionalIterator>*,
+ const match_results<BidirectionalIterator>& >
+#endif
{
private:
typedef regex_iterator_implementation