Files
boost_preprocessor/doc/ref/indirect_self.html

35 lines
1.1 KiB
HTML
Raw Normal View History

2002-10-03 22:13:37 +00:00
<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>.&nbsp;
</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.&nbsp;
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>