Boost logo

Boost :

Subject: Re: [boost] [preprocessor] [variadic] VMD_SIZE using ADD -- why?
From: lcaminiti (lorcaminiti_at_[hidden])
Date: 2011-06-06 13:29:46


Edward Diener-3 wrote:
>
> On 6/6/2011 12:51 PM, lcaminiti wrote:
>> Hello all,
>>
>> I am using the VMD Boost Library Under Construction to handle variadic
>> macros.
>>
>> On MVSC, this library uses PP_ADD to calculate the variadic size
>> VMD_SIZE(__VA_ARGS__). However, it does not provide a reentrant version
>> of
>> VMD_SIZE (like VMD_SIZE_D) which is a problem when nesting size
>> calculations
>> within while iterations because PP_ADD uses PP_WHILE. I think, if this
>> implementation is kept, the library should also provide the reentrant
>> variant VMD_SIZE_D that invokes PP_ADD_D instead of PP_ADD.
>
> The latest version no longer used PP_ADD but PP_CAT instead.
>

OK, I'll update to the latest rev. Thanks :)

--Lorenzo

--
View this message in context: http://boost.2283326.n4.nabble.com/boost-preprocessor-variadic-VMD-SIZE-using-ADD-why-tp3577430p3577514.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

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