]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | <html> |
2 | <head> | |
3 | <title>BOOST_PP_VARIADICS</title> | |
4 | <link rel="stylesheet" type="text/css" href="../styles.css"> | |
5 | </head> | |
6 | <body> | |
7 | <div style="margin-left: 0px;"> The <b>BOOST_PP_VARIADICS </b>macro specifies whether variadic macro support exists.<br> | |
8 | </div> | |
9 | <h4>Usage</h4> | |
10 | <div class="code"><b>BOOST_PP_VARIADICS</b><br> | |
11 | </div><b>Remarks</b> | |
12 | <div> The macro is an <i>object-like</i> macro. It is used in internal | |
13 | code to check for the presence of variadic macro support. It can be | |
14 | used by the end-user for the same purpose. The macro equals 1 if | |
15 | variadic macros are supported and 0 if they are not. </div><b>Requirements</b> | |
16 | <div> <b>Header:</b> <a href="../headers/config/variadics.html"><boost/preprocessor/config/config.hpp></a> | |
17 | </div> | |
18 | <h4>Sample Code</h4> | |
19 | <div> | |
20 | <pre>#include <<a href="../headers/config/variadics.html">boost/preprocessor/config/config.hpp</a>><br><br>#if <a href="variadics.html">BOOST_PP_VARIADICS</a><br>#define SOME_MACRO(...) // replacement list<br>#else<br>#define SOME_MACRO(param1,param2) // replacement list<br>#endif<br></pre> | |
21 | </div> | |
22 | <hr size="1"> | |
23 |