Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 1 | |
| 2 | // Copyright Peter Dimov 2001-2002 |
| 3 | // Copyright Aleksey Gurtovoy 2001-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 | |
| 10 | // *Preprocessed* version of the main "arg.hpp" header |
| 11 | // -- DO NOT modify by hand! |
| 12 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 13 | NDNBOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 14 | template<> struct arg< -1 > |
| 15 | { |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 16 | NDNBOOST_STATIC_CONSTANT(int, value = -1); |
| 17 | NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, tag) |
| 18 | NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, type) |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 19 | |
| 20 | template< |
| 21 | typename U1, typename U2, typename U3, typename U4, typename U5 |
| 22 | > |
| 23 | struct apply |
| 24 | { |
| 25 | typedef U1 type; |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 26 | NDNBOOST_MPL_AUX_ASSERT_NOT_NA(type); |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 27 | }; |
| 28 | }; |
| 29 | |
| 30 | template<> struct arg<1> |
| 31 | { |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 32 | NDNBOOST_STATIC_CONSTANT(int, value = 1); |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 33 | typedef arg<2> next; |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 34 | NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, tag) |
| 35 | NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, type) |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 36 | |
| 37 | template< |
| 38 | typename U1, typename U2, typename U3, typename U4, typename U5 |
| 39 | > |
| 40 | struct apply |
| 41 | { |
| 42 | typedef U1 type; |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 43 | NDNBOOST_MPL_AUX_ASSERT_NOT_NA(type); |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 44 | }; |
| 45 | }; |
| 46 | |
| 47 | template<> struct arg<2> |
| 48 | { |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 49 | NDNBOOST_STATIC_CONSTANT(int, value = 2); |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 50 | typedef arg<3> next; |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 51 | NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, tag) |
| 52 | NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, type) |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 53 | |
| 54 | template< |
| 55 | typename U1, typename U2, typename U3, typename U4, typename U5 |
| 56 | > |
| 57 | struct apply |
| 58 | { |
| 59 | typedef U2 type; |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 60 | NDNBOOST_MPL_AUX_ASSERT_NOT_NA(type); |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 61 | }; |
| 62 | }; |
| 63 | |
| 64 | template<> struct arg<3> |
| 65 | { |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 66 | NDNBOOST_STATIC_CONSTANT(int, value = 3); |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 67 | typedef arg<4> next; |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 68 | NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, tag) |
| 69 | NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, type) |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 70 | |
| 71 | template< |
| 72 | typename U1, typename U2, typename U3, typename U4, typename U5 |
| 73 | > |
| 74 | struct apply |
| 75 | { |
| 76 | typedef U3 type; |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 77 | NDNBOOST_MPL_AUX_ASSERT_NOT_NA(type); |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 78 | }; |
| 79 | }; |
| 80 | |
| 81 | template<> struct arg<4> |
| 82 | { |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 83 | NDNBOOST_STATIC_CONSTANT(int, value = 4); |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 84 | typedef arg<5> next; |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 85 | NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, tag) |
| 86 | NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, type) |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 87 | |
| 88 | template< |
| 89 | typename U1, typename U2, typename U3, typename U4, typename U5 |
| 90 | > |
| 91 | struct apply |
| 92 | { |
| 93 | typedef U4 type; |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 94 | NDNBOOST_MPL_AUX_ASSERT_NOT_NA(type); |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 95 | }; |
| 96 | }; |
| 97 | |
| 98 | template<> struct arg<5> |
| 99 | { |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 100 | NDNBOOST_STATIC_CONSTANT(int, value = 5); |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 101 | typedef arg<6> next; |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 102 | NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, tag) |
| 103 | NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, type) |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 104 | |
| 105 | template< |
| 106 | typename U1, typename U2, typename U3, typename U4, typename U5 |
| 107 | > |
| 108 | struct apply |
| 109 | { |
| 110 | typedef U5 type; |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 111 | NDNBOOST_MPL_AUX_ASSERT_NOT_NA(type); |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 112 | }; |
| 113 | }; |
| 114 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 115 | NDNBOOST_MPL_AUX_NONTYPE_ARITY_SPEC(1,int, arg) |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 116 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 117 | NDNBOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE |