3 <title>BOOST_PP_EMPTY
</title>
4 <link rel=
"stylesheet" type=
"text/css" href=
"../styles.css">
8 <div style=
"margin-left: 0px;">
9 The
<b>BOOST_PP_EMPTY
</b> macro is a nullary utility macro that expands to nothing.
13 <b>BOOST_PP_EMPTY
</b>()
17 This macro is helps avoid inefficient macro-expansion.
18 It is primarily useful as arguments to
<b>BOOST_PP_IF
</b> or
<b>BOOST_PP_IIF
</b>.
22 <b>Header:
</b> <a href=
"../headers/facilities/empty.html"><boost/preprocessor/facilities/empty.hpp
></a>
26 #include
<<a href=
"../headers/control/if.html">boost/preprocessor/control/if.hpp
</a>>
27 #include
<<a href=
"../headers/facilities/empty.html">boost/preprocessor/facilities/empty.hpp
</a>>
30 #define MACRO(c)
<a href=
"if.html">BOOST_PP_IF
</a>(c, X,
<a href=
"empty.html">BOOST_PP_EMPTY
</a>)()
32 MACRO(
0) // expands to nothing
33 MACRO(
1) // expands to result
36 <div style=
"margin-left: 0px;">
37 <i>© Copyright
<a href=
"http://www.housemarque.com" target=
"_top">Housemarque Oy
</a> 2002</i>
38 </br><i>© Copyright Paul Mensonides
2002</i>
40 <div style=
"margin-left: 0px;">
41 <p><small>Distributed under the Boost Software License, Version
1.0. (See
42 accompanying file
<a href=
"../../../../LICENSE_1_0.txt">LICENSE_1_0.txt
</a> or
44 "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt
</a>)
</small></p>