Boost logo

Boost Users :

From: Paul Mensonides (pmenso57_at_[hidden])
Date: 2006-08-29 06:08:13


> -----Original Message-----
> From: boost-users-bounces_at_[hidden]
> [mailto:boost-users-bounces_at_[hidden]] On Behalf Of
> Roman Perepelitsa

> Paul Mensonides <pmenso57 <at> comcast.net> writes:
> > In the mean time, the following should get you started...
> > [cut]
> > #define SEQ \
> > (a)(b)(c)(d)(e)(f)(g)(h)(i)(j)(k)(l)(m) \
> > (n)(o)(p)(q)(r)(s)(t)(u)(v)(w)(x)(y)(z) \
> > /**/
> >
> > A(SEQ)
>
> Thank you, Paul. This is exactly what I need :-)

Be warned that the sequence that results from the above is a *binary* sequence,
and the facilities in the pp-lib cannot deal with binary sequences--only unary.
That's not a showstopper, but it means that you can't use generic tools (at
least those provided by the pp-lib) to manipulate the result, so you'll have to
"manually" generate whatever it is that you want to generate. However, if you
can follow how the above works, you should be able to do that without too much
difficulty.

Regards,
Paul Mensonides


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net