Boost logo

Boost :

From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2004-11-14 11:34:49


Paul Mensonides wrote:
> > -----Original Message-----
> > [mailto:boost-bounces_at_[hidden]] On Behalf Of Alexander Nasonov
> > Is it right that it's not guaranteed only because it doesn't
> > conform to sequence interface?
>
> Yes. Firstly, sequences contain unary elements. In the larger scheme of things
> a sequence according to the pp-lib is a "unary sequence". Other sequences are
> possible (such as binary sequences) without variadics, but there is no support
> for them in the pp-lib. Variadic sequences, meaning sequences whose elements
> are any arity, can only be supported with C99's variadic macros. Even so, there
> is no support for them in the pp-lib (yet). Secondly, because of how broken
> many preprocessors are, the pp-lib does quite a few major hacks (a.k.a.
> workarounds) to make things work. It is doing a lot of things that aren't
> necessary from a theoretical point of view, but are necessary in practicality.
> Because of that, adding side guarantees or allowances is difficult. That might
> not be the case here, but there is no real reason to add such a guarantee.

No problem, I can copy/paste/rename required parts of pp :)

-- 
Alexander Nasonov

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