3 <title>BOOST_PP_ITERATION_DEPTH
</title>
4 <link rel=
"stylesheet" type=
"text/css" href=
"../styles.css">
7 <div style=
"margin-left: 0px;">
8 The
<b>BOOST_PP_ITERATION_DEPTH
</b> macro expands to the current
<i>file-iteration
</i> depth.
12 <b>BOOST_PP_ITERATION_DEPTH
</b>()
16 If a
<i>file-iteration
</i> is not in progress, this macro expands to
<i>0</i>.
17 Otherwise, it expands to the current depth of
<i>file-iteration
</i>.
21 <li><a href=
"frame_iteration.html">BOOST_PP_FRAME_ITERATION
</a></li>
22 <li><a href=
"relative_iteration.html">BOOST_PP_RELATIVE_ITERATION
</a></li>
26 <b>Header:
</b> <a href=
"../headers/iteration/iterate.html"><boost/preprocessor/iteration/iterate.hpp
></a>
31 #if !
<a href=
"is_iterating.html">BOOST_PP_IS_ITERATING
</a>
36 #include
<<a href=
"../headers/iteration/iterate.html">boost/preprocessor/iteration/iterate.hpp
</a>>
38 #define
<a href=
"iteration_params_x.html">BOOST_PP_ITERATION_PARAMS_1
</a> (
3, (
1,
3,
"file.h"))
39 #include
<a href=
"iterate.html">BOOST_PP_ITERATE
</a>()
43 #elif
<a href=
"iteration_depth.html">BOOST_PP_ITERATION_DEPTH
</a>() ==
1
45 + depth
<a href=
"iteration_depth.html">BOOST_PP_ITERATION_DEPTH
</a>()
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>()
54 #elif
<a href=
"iteration_depth.html">BOOST_PP_ITERATION_DEPTH
</a>() ==
2
56 - depth
<a href=
"iteration_depth.html">BOOST_PP_ITERATION_DEPTH
</a>()
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>