19 Sep
2009
19 Sep
'09
5:38 p.m.
I am having some trouble with the Regex callback architecture. Fist of all for, for a variable number of matches, the only way to code is with a callback function and for_each iterator, correct?
What callback architecture? Regex is iterator based: see regex_iterator and regex_token_iterator. Of course you could pass these iterators to std::for_each along with a callback function, but there's really no need to do that. What is it you're trying to do? John.