Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 1 | ////////////////////////////////////////////////////////////////////////////// |
| 2 | // |
| 3 | // (C) Copyright Ion Gaztanaga 2008-2012. Distributed under the Boost |
| 4 | // Software License, Version 1.0. (See accompanying file |
| 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 6 | // |
| 7 | // See http://www.boost.org/libs/intrusive for documentation. |
| 8 | // |
| 9 | ////////////////////////////////////////////////////////////////////////////// |
| 10 | |
| 11 | #ifndef BOOST_INTRUSIVE_DETAIL_PREPROCESSOR_HPP |
| 12 | #define BOOST_INTRUSIVE_DETAIL_PREPROCESSOR_HPP |
| 13 | |
| 14 | #if (defined _MSC_VER) && (_MSC_VER >= 1200) |
| 15 | # pragma once |
| 16 | #endif |
| 17 | |
| 18 | #include <ndnboost/intrusive/detail/config_begin.hpp> |
| 19 | #include <ndnboost/intrusive/detail/workaround.hpp> |
| 20 | |
| 21 | #include <ndnboost/preprocessor/iteration/local.hpp> |
| 22 | #include <ndnboost/preprocessor/punctuation/paren_if.hpp> |
| 23 | #include <ndnboost/preprocessor/punctuation/comma_if.hpp> |
| 24 | #include <ndnboost/preprocessor/control/expr_if.hpp> |
| 25 | #include <ndnboost/preprocessor/cat.hpp> |
| 26 | #include <ndnboost/preprocessor/repetition/enum.hpp> |
| 27 | #include <ndnboost/preprocessor/repetition/enum_params.hpp> |
| 28 | #include <ndnboost/preprocessor/repetition/enum_trailing_params.hpp> |
| 29 | #include <ndnboost/preprocessor/repetition/enum_trailing.hpp> |
| 30 | #include <ndnboost/preprocessor/repetition/enum_shifted_params.hpp> |
| 31 | #include <ndnboost/preprocessor/repetition/enum_shifted.hpp> |
| 32 | #include <ndnboost/preprocessor/repetition/repeat.hpp> |
| 33 | #include <ndnboost/preprocessor/logical/not.hpp> |
| 34 | #include <ndnboost/preprocessor/arithmetic/sub.hpp> |
| 35 | #include <ndnboost/preprocessor/arithmetic/add.hpp> |
| 36 | #include <ndnboost/preprocessor/iteration/iterate.hpp> |
| 37 | |
| 38 | #define BOOST_INTRUSIVE_MAX_CONSTRUCTOR_PARAMETERS 10 |
| 39 | |
| 40 | #define BOOST_INTRUSIVE_PP_IDENTITY(z, n, data) data |
| 41 | |
| 42 | #define BOOST_INTRUSIVE_PP_DECLVAL(z, n, data) \ |
| 43 | ndnboost::move_detail::declval< BOOST_PP_CAT(P, n) >() \ |
| 44 | //! |
| 45 | |
| 46 | #define BOOST_INTRUSIVE_PP_TEMPLATE_PARAM_VOID_DEFAULT(z, n, data) \ |
| 47 | BOOST_PP_CAT(class P, n) = void \ |
| 48 | //! |
| 49 | |
| 50 | #include <ndnboost/intrusive/detail/config_end.hpp> |
| 51 | |
| 52 | #endif //#ifndef BOOST_INTRUSIVE_DETAIL_PREPROCESSOR_HPP |