
3 Mar
2005
3 Mar
'05
8:47 a.m.
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Tobias Schwinger
Thank you for this very detailed reply !
Is it safe to use BOOST_PP_EMTPY or BOOST_PP_INDENTITY(somthing) as the element and "dereference" with '()' ?
Sure, provided that the result is never "bound" to an argument by itself. E.g. #define A(x) B(x) #define B(x) x A() // undefined: empty argument to A A( BOOST_PP_EMPTY() ) // undefined: empty argument to B A( BOOST_PP_EMPTY )() // okay Regards, Paul Mensonides