Boost logo

Boost :

Subject: Re: [boost] [Boost.Preprocessor] FOREACH( MACRO, ... )
From: joel falcou (joel.falcou_at_[hidden])
Date: 2010-02-16 01:53:15


Daniel Larimer wrote:
> Is there a reason why Boost.Preprocessor does not have many (any?) utilities for variadic macros?
> <snip>
> FOREACH( CASE, a, b, c, d, e)
> case a: case b: case c: case d: case e:
>
Isn't it what BOOST_PP_REPEAT and BOOST_PP_TUPLE is for ?

-- 
___________________________________________
Joel Falcou - Assistant Professor
PARALL Team - LRI - Universite Paris Sud XI
Tel : (+33)1 69 15 66 35

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