forked from boostorg/preprocessor
@ -64,10 +64,10 @@
|
|||||||
#include <<a href="../headers/repetition/epwd.html">boost/preprocessor/repetition/enum_params_with_defaults.hpp</a>>
|
#include <<a href="../headers/repetition/epwd.html">boost/preprocessor/repetition/enum_params_with_defaults.hpp</a>>
|
||||||
|
|
||||||
<a href="enum_params_with_defaults.html">BOOST_PP_ENUM_PARAMS_WITH_DEFAULTS</a>(3, class T, U)
|
<a href="enum_params_with_defaults.html">BOOST_PP_ENUM_PARAMS_WITH_DEFAULTS</a>(3, class T, U)
|
||||||
// expands to T0 = U0, T1 = U1, T2 = U2
|
// expands to class T0 = U0, class T1 = U1, class T2 = U2
|
||||||
|
|
||||||
<a href="enum_binary_params.html">BOOST_PP_ENUM_BINARY_PARAMS</a>(3, class T, = U)
|
<a href="enum_binary_params.html">BOOST_PP_ENUM_BINARY_PARAMS</a>(3, class T, = U)
|
||||||
// expands to T0 = U0, T1 = U1, T2 = U2
|
// expands to class T0 = U0, class T1 = U1, class T2 = U2
|
||||||
</pre></div>
|
</pre></div>
|
||||||
<hr size="1">
|
<hr size="1">
|
||||||
<div style="margin-left: 0px;">
|
<div style="margin-left: 0px;">
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
<h4>Sample Code</h4>
|
<h4>Sample Code</h4>
|
||||||
<div><pre>
|
<div><pre>
|
||||||
#include <<a href="../headers/control/iif.html">boost/preprocessor/control/iif.hpp</a>>
|
#include <<a href="../headers/control/iif.html">boost/preprocessor/control/iif.hpp</a>>
|
||||||
#include <<a href="../headers/logical/or.html">boost/preprocessor/logical/or.hpp</a>
|
#include <<a href="../headers/logical/or.html">boost/preprocessor/logical/or.hpp</a>>
|
||||||
|
|
||||||
#define OR_IF(p, q, t, f) <a href="iif.html">BOOST_PP_IIF</a>(<a href="or.html">BOOST_PP_OR</a>(p, q), t, f)
|
#define OR_IF(p, q, t, f) <a href="iif.html">BOOST_PP_IIF</a>(<a href="or.html">BOOST_PP_OR</a>(p, q), t, f)
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<h4>Remarks</h4>
|
<h4>Remarks</h4>
|
||||||
<div>
|
<div>
|
||||||
This macro currently expands to <i>5</i>.
|
This macro currently expands to <i>3</i>.
|
||||||
</div>
|
</div>
|
||||||
<h4>Requirements</h4>
|
<h4>Requirements</h4>
|
||||||
<div>
|
<div>
|
||||||
|
Reference in New Issue
Block a user