]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | <html> |
2 | <head> | |
3 | <title>BOOST_PP_INDIRECT_SELF</title> | |
4 | <link rel="stylesheet" type="text/css" href="../styles.css"> | |
5 | </head> | |
6 | <body> | |
7 | <div style="margin-left: 0px;"> | |
8 | The <b>BOOST_PP_INDIRECT_SELF</b> macro is a user-defined <i>named external argument</i> used by <b>BOOST_PP_INCLUDE_SELF</b>. | |
9 | </div> | |
10 | <h4>Usage</h4> | |
11 | <div class="code"> | |
12 | #define <b>BOOST_PP_INDIRECT_SELF</b> <i>filename</i> | |
13 | </div> | |
14 | <h4>Arguments</h4> | |
15 | <dl> | |
16 | <dt>filename</dt> | |
17 | <dd> | |
18 | A quoted or angle-bracketed filename to be included by <b>BOOST_PP_INCLUDE_SELF</b>. | |
19 | </dd> | |
20 | </dl> | |
21 | <h4>Remarks</h4> | |
22 | <div> | |
23 | Most preprocessors will not allow a file to directly include itself--even when the file protects itself from such a scenario. | |
24 | This macro, in combination with <b>BOOST_PP_INCLUDE_SELF</b> allows a file to include itself indirectly. | |
25 | </div> | |
26 | <div> | |
27 | This macro is automatically undefined for reuse by a call to <b>BOOST_PP_INCLUDE_SELF</b>. | |
28 | </div> | |
29 | <h4>See Also</h4> | |
30 | <ul> | |
31 | <li><a href="include_self.html">BOOST_PP_INCLUDE_SELF</a></li> | |
32 | </ul> | |
33 | <hr size="1"> | |
34 | <div style="margin-left: 0px;"> | |
35 |