Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-06-13 20:00:15

----- Original Message -----
From: "Paul Mensonides" <pmenso57_at_[hidden]>

> ----- Original Message -----
> From: "David Abrahams" <david.abrahams_at_[hidden]>
> > *I* understand what it is; I'm looking out for the next guy that comes
> > along.
> Okay. I forgot you were a genius! :)

Please. You already explained this stuff to me in some detail at my

> > > The documentation would be clearer, if 'automatic recursion' was a
> > that
> > > described what it is is.
> >
> > Yes, that would be a big help. However, most users don't even need to
> > do they?
> >
> > -Dave
> They don't necessarily need to know how 'automatic recursion' is
> but they do need to know somewhat what the limitations are. For
> BOOST_PP_REPEAT can 'expand' inside 'itself', but only a finite number of

Yes, that's the right way to explain it.

> In that sense, the documentation is fairly clear--2D and 3D repetitions
> directly supported.

Most people will wonder why it deserves a mention, and probably will wonder
why it's "recursive" for a few minutes. I think "nested" would be a better
term here.

> Also, without the reference to 'automatic recursion' it
> seems, to someone reasonably familiar with Cpp

Compared to you and Vesa, nobody is "reasonably familiar" with Cpp. We need
"docs for the rest of us".

> that it would be *impossible*
> for the macro to expand to itself. In any case, there is likely to be a
> many references to automatic recursion in the documentation, and it would
> easier to localize a small synopsis of it.



Boost list run by bdawes at, gregod at, cpdaniel at, john at