Boost logo

Boost :

Subject: [boost] [PREPROCESSOR] Possible improvement for BOOST_PP_VARIADIC_SIZE
From: Brent Lewis (coder0xff_at_[hidden])
Date: 2013-09-09 16:44:36


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.


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