Files
externals/linux/include/ActivBoost/mpl/aux_/preprocessor/range.hpp
T
2023-12-15 13:15:08 -05:00

31 lines
912 B
C++

#ifndef ACTIV_BOOST_MPL_AUX_PREPROCESSOR_RANGE_HPP_INCLUDED
#define ACTIV_BOOST_MPL_AUX_PREPROCESSOR_RANGE_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2002-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/mpl for documentation.
// $Id$
// $Date$
// $Revision$
#include <ActivBoost/preprocessor/seq/subseq.hpp>
#include <ActivBoost/preprocessor/repetition/repeat.hpp>
#include <ActivBoost/preprocessor/arithmetic/add.hpp>
#define ACTIV_BOOST_MPL_PP_RANGE_ITEM(z,n,_) (n)
#define ACTIV_BOOST_MPL_PP_RANGE(first, length) \
ACTIV_BOOST_PP_SEQ_SUBSEQ( \
ACTIV_BOOST_PP_REPEAT(ACTIV_BOOST_PP_ADD(first,length), ACTIV_BOOST_MPL_PP_RANGE_ITEM, _), \
first, length \
) \
/**/
#endif // ACTIV_BOOST_MPL_AUX_PREPROCESSOR_RANGE_HPP_INCLUDED