|
Boost : |
Subject: Re: [boost] BOOST_PP array extension proposal
From: Edward Diener (eldiener_at_[hidden])
Date: 2015-09-11 18:40:50
On 9/11/2015 4:58 PM, Paul Mensonides wrote:
> On 9/11/2015 6:37 AM, Edward Diener wrote:
>
>> The main objection to tuple rather than array is that a tuple can't have
>> 0 elements. I plan to alleviate that in VMD, which supports "emptiness",
>> by allowing tuples and seqs to start or end as "emptiness". Of course
>> testing for "emptiness" using variadic macros is very slightly flawed as
>> you know, since you wrote that code, but since VMD supports "emptiness"
>> I will add it to that library and then those who want to use tuples or
>> seqs as starting ( or ending with ) 0 elements can do so.
>
> Wait... what would be considered an empty tuple or sequence?
"Emptiness" or no preprocessor token.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk