Boost logo

Boost Users :

Subject: Re: [Boost-users] preprocessor metaprogramming question
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-06-20 20:46:40


AMDG

Nathan Ridge wrote:
>> MEMBERS((a)(b)(c))
>>
>
> I don't suppose there's any way to have the syntax be MEMBERS(a, b, c)?
>

Not without variadic macros.

MEMBERS(3, (a, b, c)) is possible, but I'm not sure that's any better.

In Christ,
Steven Watanabe


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