C++ Boost

Boost.Preprocessor

Header <boost/preprocessor/comma.hpp>


Prev Next Macros Headers

#define BOOST_PP_COMMA()

Expands to a comma.

Commas need special handling in preprocessor code, because commas are used for separating macro parameters.

For example,

BOOST_PP_IF(1,BOOST_PP_COMMA,BOOST_PP_EMPTY)()

expands to a comma.

See


Prev Next Macros Headers

Revised

© 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.