2001-11-25 18:32:11 +00:00
|
|
|
#ifndef BOOST_PREPROCESSOR_COMMA_HPP
|
|
|
|
#define BOOST_PREPROCESSOR_COMMA_HPP
|
|
|
|
|
2002-01-29 14:13:10 +00:00
|
|
|
/* Copyright (C) 2001
|
|
|
|
* Housemarque Oy
|
|
|
|
* http://www.housemarque.com
|
|
|
|
*
|
|
|
|
* Permission to copy, use, modify, sell and distribute this software is
|
|
|
|
* granted provided this copyright notice appears in all copies. This
|
|
|
|
* software is provided "as is" without express or implied warranty, and
|
|
|
|
* with no claim as to its suitability for any purpose.
|
|
|
|
*
|
|
|
|
* See http://www.boost.org for most recent version.
|
|
|
|
*/
|
2001-11-25 18:32:11 +00:00
|
|
|
|
2002-03-09 13:55:00 +00:00
|
|
|
/** <p>Expands to a comma.</p>
|
|
|
|
|
|
|
|
<p>Commas need special handling in preprocessor code, because commas are used
|
|
|
|
for separating macro parameters.</p>
|
|
|
|
|
|
|
|
<p>For example,</p>
|
|
|
|
|
|
|
|
<pre>
|
2002-05-18 12:53:05 +00:00
|
|
|
BOOST_PP_IF(1,BOOST_PP_COMMA,BOOST_PP_EMPTY)()
|
2002-03-09 13:55:00 +00:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
<p>expands to a comma.</p>
|
2002-01-29 14:13:10 +00:00
|
|
|
|
2002-02-04 13:32:28 +00:00
|
|
|
<h3>See</h3>
|
|
|
|
<ul>
|
|
|
|
<li>BOOST_PP_COMMA_IF()</li>
|
|
|
|
</ul>
|
2001-11-25 18:32:11 +00:00
|
|
|
*/
|
2001-12-28 11:06:53 +00:00
|
|
|
#define BOOST_PP_COMMA() ,
|
2001-11-25 18:32:11 +00:00
|
|
|
#endif
|