Boost logo

Boost :

Subject: Re: [boost] Review Request: Variadic Macro Data library
From: Paul Mensonides (pmenso57_at_[hidden])
Date: 2011-02-20 10:13:20


On Sun, 20 Feb 2011 09:47:02 -0500, Edward Diener wrote:

> On 2/20/2011 7:09 AM, Paul Mensonides wrote:

>> In a general sense, I consider treating variadic content as a data
>> structure as going in the wrong direction.
>
> My goal is only to allow programmers to specify using variadic macros
> and then provide the means to convert that sequence to/from pp-lib data
> types. I have also provided the means to access any individual variadic
> token from the sequence as well as its length, but that hardly means
> "treating variadic content as a data structure" to me. As an additional
> convenience, and because of variadic macros, I also mimicked pp-lib
> tuple functionality without the need to pass the length of a tuple
> directly. My goal is simple usability of variadic data in connection
> with pp-lib.

I was merely expressing my thoughts related to the use of variadics in an
overall sense, not whether something that converts __VA_ARGS__ to some
other form is useful. The interface to your library is small enough that
you could just add it to the pp-lib.

Regards,
Paul Mensonides


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