• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3	<title>BOOST_PP_FILENAME_x</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_FILENAME_<i>x</i></b> macro is a user-defined <i>named external argument</i> used by <b>BOOST_PP_ITERATE</b>.&nbsp;
9		It denotes the file to be iterated over.
10	</div>
11	<h4>Usage</h4>
12		<div class="code">
13			#define <b>BOOST_PP_FILENAME_<i>x</i></b> <i>filename</i>
14		</div>
15	<h4>Arguments</h4>
16		<dl>
17			<dt>x</dt>
18			<dd>
19				The iteration depth of the next <i>file-iteration</i>.&nbsp;
20				This value <i>must</i> be the current iteration depth + <i>1</i>.
21			</dd>
22			<dt>filename</dt>
23			<dd>
24				A quoted or angle-bracketed filename to used as the target of a <i>file-iteration</i>.
25			</dd>
26		</dl>
27	<h4>Remarks</h4>
28		<div>
29			This macro is part of the secondary method of passing arguments to <b>BOOST_PP_ITERATE</b>.&nbsp;
30			The other part is <b>BOOST_PP_ITERATION_LIMITS</b>.
31		</div>
32		<div>
33			This macro is automatically undefined for reuse by a call to <b>BOOST_PP_ITERATE</b>.
34		</div>
35	<h4>See Also</h4>
36		<ul>
37			<li><a href="iterate.html">BOOST_PP_ITERATE</a></li>
38			<li><a href="iteration_limits.html">BOOST_PP_ITERATION_LIMITS</a></li>
39		</ul>
40	<hr size="1">
41	<div style="margin-left: 0px;">
42		<i>� Copyright <a href="http://www.housemarque.com" target="_top">Housemarque Oy</a> 2002</i>
43		</br><i>� Copyright Paul Mensonides 2002</i>
44	</div>
45	<div style="margin-left: 0px;">
46		<p><small>Distributed under the Boost Software License, Version 1.0. (See
47		accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or
48		copy at <a href=
49		"http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>
50	</div>
51</body>
52</html>
53