Boost logo

Boost :

From: Larry Evans (jcampbell3_at_[hidden])
Date: 2001-05-25 21:25:09


"John (EBo) David" wrote:

> From: "joel de guzman":
> >
> > From: "Douglas Gregor":
>
> haven't though much about it, but how about "digit[0][2]" or
> "(a|b|c)[0][more]" instead...
> couldn't that work?
>

I think the problem here is what's the type of digit[0]? If it's
like arrays, then digit is rank2, digit[0] is rank1, and digit[0][2]
is rank0. On the other hand, if you claim that all are rank 0, then
how do you distinguish whether the i in Parser::operator[](int i) is for the min
or max repititions of *this?


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