###

# Boost.Preprocessor

## Reference

Prev Next Macros Headers

# #include <boost/preprocessor/comma.hpp>

## #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

- BOOST_PP_COMMA_IF()

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.