From: Edouard Poor (edouard_at_[hidden])
Date: 2002-04-30 06:35:58
I was trying to use the Boost regex library and ran into some problems
with string::const_iteraror being returned in the smatch structure.
Just a dumb question, but why does smatch (and cmatch for that matter)
return const iterators? I'm wanting to do a targetString.replace() with
the returned iterators from a regex_match( targetString, ... ) at a
later time, but of course cannot because replace() does not take const
What are the reason for the const-ness?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk