From: John Maddock (john_at_[hidden])
Date: 2004-03-16 11:45:47
> 1. It would be helpful if the top page of the docs had direct links to
> explanations of smatch and similar classes.
OK I'll add a typedefs section to the index.
> 2. An example of how to use sub_match would be useful. The C++ parser
> example for regex_iterator is not ideal because: a) the regex is rather
> complex; b) the callback just uses str(), and never shows the type to use
> you want to iterate through each character in the match.
> 3. I get this error (see P.S. for my code)
> `iterator' is
> not a member of type
> char*, std::basic_string<char, std::char_traits<char>,
> > > >'
> but this page says sub_match has an iterator type.
> It compiles when I explicitly use std::string::const_iterator.
Thanks, that appears to be a bug, sorry I'll get it fixed.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk