forked from boostorg/preprocessor
42 lines
1.2 KiB
HTML
42 lines
1.2 KiB
HTML
![]() |
<html>
|
||
|
<head>
|
||
|
<title>BOOST_PP_FILENAME_x</title>
|
||
|
<link rel="stylesheet" type="text/css" href="../styles.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<div style="margin-left: 0px;">
|
||
|
The <b>BOOST_PP_FILENAME_<i>x</i></b> macro is a user-defined <i>named external argument</i> used by <b>BOOST_PP_ITERATE</b>.
|
||
|
It denotes the file to be iterated over.
|
||
|
</div>
|
||
|
<h4>Usage</h4>
|
||
|
<div class="code">
|
||
|
#define <b>BOOST_PP_FILENAME_<i>x</i></b> <i>filename</i>
|
||
|
</div>
|
||
|
<h4>Arguments</h4>
|
||
|
<dl>
|
||
|
<dt>x</dt>
|
||
|
<dd>
|
||
|
The iteration depth of the next <i>file-iteration</i>.
|
||
|
This value <i>must</i> be the current iteration depth + <i>1</i>.
|
||
|
</dd>
|
||
|
<dt>filename</dt>
|
||
|
<dd>
|
||
|
A quoted or angle-bracketed filename to used as the target of a <i>file-iteration</i>.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<h4>Remarks</h4>
|
||
|
<div>
|
||
|
This macro is part of the secondary method of passing arguments to <b>BOOST_PP_ITERATE</b>.
|
||
|
The other part is <b>BOOST_PP_ITERATION_LIMITS</b>.
|
||
|
</div>
|
||
|
<div>
|
||
|
This macro is automatically undefined for reuse by a call to <b>BOOST_PP_ITERATE</b>.
|
||
|
</div>
|
||
|
<h4>See Also</h4>
|
||
|
<ul>
|
||
|
<li><a href="iterate.html">BOOST_PP_ITERATE</a></li>
|
||
|
<li><a href="iteration_limits.html">BOOST_PP_ITERATION_LIMITS</a></li>
|
||
|
</ul>
|
||
|
</body>
|
||
|
</html>
|