c++boost.gif (8819 bytes)

#include <boost/preprocessor/if.hpp>


#define BOOST_PP_IF(C,T,E)

Expands to T if C != 0 and E if C == 0.

BOOST_PP_IF() enables convenient generation of lists using BOOST_PP_REPEAT().


#define BOOST_PREPROCESSOR_IF(C,T,E)

Obsolete. Use BOOST_PP_IF().


(C) Copyright Housemarque Oy 2002

Permission to copy, use, modify, sell and distribute this document is granted provided this copyright notice appears in all copies. This document is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.

Generated: