|
Boost : |
Subject: Re: [boost] [preprocessor] Maybe a improvement of BOOST_PP_IS_EMPTY
From: Edward Diener (eldiener_at_[hidden])
Date: 2012-11-20 19:36:22
On 11/20/2012 7:43 AM, Zhenghui Zhou wrote:
> As I known, the undocument interface BOOST_PP_IS_EMPTY is not a general
> implementation to condider emptiness. There is a undefined behaviours when
> token concatenation return a invalid preprocessing token. Particularly, gcc
> restriction reports error.
See BOOST_IS_EMPTY in my variadic macros library in the sandbox.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk