Minor optimizations

[SVN r12462]
This commit is contained in:
Vesa Karvonen
2002-01-23 17:20:54 +00:00
parent e2d7a2559a
commit 1bfd0f8c40
5 changed files with 7 additions and 7 deletions

View File

@ -25,11 +25,11 @@
BOOST_PP_IF() enables convenient generation of lists using
BOOST_PP_REPEAT().
*/
#define BOOST_PP_IF(C,T,E) BOOST_PP_IF_BOOL(BOOST_PP_BOOL(C),T,E)
#define BOOST_PP_IF(C,T,E) BOOST_PP_IF_BOOL(BOOST_PP_BOOL(C))(E,T)
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#define BOOST_PP_IF_BOOL(C,T,E) BOOST_PP_IF_BOOL_DELAY(C,T,E)
#define BOOST_PP_IF_BOOL_DELAY(C,T,E) BOOST_PP_TUPLE2_ELEM##C(E,T)
#define BOOST_PP_IF_BOOL(C) BOOST_PP_IF_BOOL_DELAY(C)
#define BOOST_PP_IF_BOOL_DELAY(C) BOOST_PP_TUPLE2_ELEM##C
#endif
//! Obsolete. Use BOOST_PP_IF().