Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2005-02-07 05:30:19


> is there an immediate way to access the sub-expression that matched
> instead of checking each "what" as in the following?
>
> for (unsigned int i = 1; i < what.size(); ++i) {
> if (what[i].matched) {

Not currently, sorry, might be a useful addition though...

John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk