forked from boostorg/preprocessor
35 lines
1.1 KiB
HTML
35 lines
1.1 KiB
HTML
![]() |
<html>
|
||
|
<head>
|
||
|
<title>BOOST_PP_INDIRECT_SELF</title>
|
||
|
<link rel="stylesheet" type="text/css" href="../styles.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<div style="margin-left: 0px;">
|
||
|
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>.
|
||
|
</div>
|
||
|
<h4>Usage</h4>
|
||
|
<div class="code">
|
||
|
#define <b>BOOST_PP_INDIRECT_SELF</b> <i>filename</i>
|
||
|
</div>
|
||
|
<h4>Arguments</h4>
|
||
|
<dl>
|
||
|
<dt>filename</dt>
|
||
|
<dd>
|
||
|
A quoted or angle-bracketed filename to be included by <b>BOOST_PP_INCLUDE_SELF</b>.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<h4>Remarks</h4>
|
||
|
<div>
|
||
|
Most preprocessors will not allow a file to directly include itself--even when the file protects itself from such a scenario.
|
||
|
This macro, in combination with <b>BOOST_PP_INCLUDE_SELF</b> allows a file to include itself indirectly.
|
||
|
</div>
|
||
|
<div>
|
||
|
This macro is automatically undefined for reuse by a call to <b>BOOST_PP_INCLUDE_SELF</b>.
|
||
|
</div>
|
||
|
<h4>See Also</h4>
|
||
|
<ul>
|
||
|
<li><a href="include_self.html">BOOST_PP_INCLUDE_SELF</a></li>
|
||
|
</ul>
|
||
|
</body>
|
||
|
</html>
|