3rdParty/boost/1.78.0/libs/preprocessor/doc/ref/iteration.html
The BOOST_PP_ITERATION macro expands to the iteration value of the current file-iteration depth.
BOOST_PP_ITERATION ()
This macro is only valid when a file-iteration is in progress.
Header: <boost/preprocessor/iteration/iterate.hpp>
// file.h
#if ! [BOOST\_PP\_IS\_ITERATING](is_iterating.html)#ifndef FILE_H_
#define FILE_H_
#include <[boost/preprocessor/iteration/iterate.hpp](../headers/iteration/iterate.html)>
#define[BOOST\_PP\_ITERATION\_PARAMS\_1](iteration_params_x.html)(3, (1, 3, "file.h"))
#include[BOOST\_PP\_ITERATE](iterate.html)()
#endif
#elif[BOOST\_PP\_ITERATION\_DEPTH](iteration_depth.html)() == 1
value ==[BOOST\_PP\_ITERATION](iteration.html)()
#endif
Copyright Housemarque Oy 2002 Copyright Paul Mensonides 2002
Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at www.boost.org/LICENSE_1_0.txt)