/src/contrib/boost/mpl/aux_/preprocessor/range.hpp

http://pythonocc.googlecode.com/ · C++ Header · 23 lines · 6 code · 6 blank · 11 comment · 0 complexity · 848a0ffc0e71da64c98a08ce0f95df44 MD5 · raw file

  1. #ifndef BOOST_MPL_AUX_PREPROCESSOR_RANGE_HPP_INCLUDED
  2. #define BOOST_MPL_AUX_PREPROCESSOR_RANGE_HPP_INCLUDED
  3. // Copyright Aleksey Gurtovoy 2002-2004
  4. //
  5. // Distributed under the Boost Software License, Version 1.0.
  6. // (See accompanying file LICENSE_1_0.txt or copy at
  7. // http://www.boost.org/LICENSE_1_0.txt)
  8. //
  9. // See http://www.boost.org/libs/mpl for documentation.
  10. // $Id: range.hpp 49267 2008-10-11 06:19:02Z agurtovoy $
  11. // $Date: 2008-10-11 02:19:02 -0400 (Sat, 11 Oct 2008) $
  12. // $Revision: 49267 $
  13. #include <boost/preprocessor/seq/subseq.hpp>
  14. #define BOOST_MPL_PP_RANGE(first, length) \
  15. BOOST_PP_SEQ_SUBSEQ((0)(1)(2)(3)(4)(5)(6)(7)(8)(9), first, length) \
  16. /**/
  17. #endif // BOOST_MPL_AUX_PREPROCESSOR_RANGE_HPP_INCLUDED