3 <title>BOOST_PP_FRAME_ITERATION
</title>
4 <link rel=
"stylesheet" type=
"text/css" href=
"../styles.css">
7 <div style=
"margin-left: 0px;">
8 The
<b>BOOST_PP_FRAME_ITERATION
</b> macro expands to the iteration value of an absolute
<i>file-iteration
</i> depth.
12 <b>BOOST_PP_FRAME_ITERATION
</b>(
<i>i
</i>)
18 The absolute depth of the frame whose iteration value is to be retreived.
19 Valid values range from
<i>1</i> to
<b>BOOST_PP_ITERATION_DEPTH
</b>().
24 This macro is only valid when a
<i>file-iteration
</i> is in progress.
28 <b>Header:
</b> <a href=
"../headers/iteration/iterate.html"><boost/preprocessor/iteration/iterate.hpp
></a>
33 #if !
<a href=
"is_iterating.html">BOOST_PP_IS_ITERATING
</a>
38 #include
<<a href=
"../headers/iteration/iterate.html">boost/preprocessor/iteration/iterate.hpp
</a>>
40 #define
<a href=
"iteration_params_x.html">BOOST_PP_ITERATION_PARAMS_1
</a> (
3, (
1,
10,
"file.h"))
41 #include
<a href=
"iterate.html">BOOST_PP_ITERATE
</a>()
45 #elif
<a href=
"iteration_depth.html">BOOST_PP_ITERATION_DEPTH
</a>() ==
1
48 #define
<a href=
"iteration_params_x.html">BOOST_PP_ITERATION_PARAMS_2
</a> \
49 (
3, (
1,
<a href=
"iteration.html">BOOST_PP_ITERATION
</a>(),
"file.h")) \
52 #include
<a href=
"iterate.html">BOOST_PP_ITERATE
</a>()
56 outer:
<a href=
"frame_iteration.html">BOOST_PP_FRAME_ITERATION
</a>(
1)
57 inner:
<a href=
"frame_iteration.html">BOOST_PP_FRAME_ITERATION
</a>(
2)
62 <div style=
"margin-left: 0px;">
63 <i>© Copyright
<a href=
"http://www.housemarque.com" target=
"_top">Housemarque Oy
</a> 2002</i>
64 </br><i>© Copyright Paul Mensonides
2002</i>
66 <div style=
"margin-left: 0px;">
67 <p><small>Distributed under the Boost Software License, Version
1.0. (See
68 accompanying file
<a href=
"../../../../LICENSE_1_0.txt">LICENSE_1_0.txt
</a> or
70 "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt
</a>)
</small></p>