Boost logo

Boost :

Subject: Re: [boost] [PREPROCESSOR] Possible improvement for BOOST_PP_VARIADIC_SIZE
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-09-09 17:04:32


AMDG

On 09/09/2013 01:44 PM, Brent Lewis wrote:
> Currently,
>
> BOOST_VARIADIC_SIZE()
>
> evaluates to 1. Based on
> http://gustedt.wordpress.com/2010/06/08/detect-empty-macro-arguments/ it
> can be improved to return 0 for an empty argument list.
>

I believe that according to Paul Mensonides, the
current behavior is correct. Please see this post:
http://lists.boost.org/Archives/boost/2011/11/187820.php

In Christ,
Steven Watanabe


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