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 "ndnboost/mpl/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 = na, typename U2 = na, typename U3 = na |
| 22 | , typename U4 = na, typename U5 = na |
| 23 | > |
| 24 | struct apply |
| 25 | { |
| 26 | typedef U1 type; |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 27 | NDNBOOST_MPL_AUX_ASSERT_NOT_NA(type); |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 28 | }; |
| 29 | }; |
| 30 | |
| 31 | template<> struct arg<1> |
| 32 | { |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 33 | NDNBOOST_STATIC_CONSTANT(int, value = 1); |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 34 | typedef arg<2> next; |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 35 | NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, tag) |
| 36 | NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, type) |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 37 | |
| 38 | template< |
| 39 | typename U1 = na, typename U2 = na, typename U3 = na |
| 40 | , typename U4 = na, typename U5 = na |
| 41 | > |
| 42 | struct apply |
| 43 | { |
| 44 | typedef U1 type; |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 45 | NDNBOOST_MPL_AUX_ASSERT_NOT_NA(type); |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 46 | }; |
| 47 | }; |
| 48 | |
| 49 | template<> struct arg<2> |
| 50 | { |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 51 | NDNBOOST_STATIC_CONSTANT(int, value = 2); |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 52 | typedef arg<3> next; |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 53 | NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, tag) |
| 54 | NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, type) |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 55 | |
| 56 | template< |
| 57 | typename U1 = na, typename U2 = na, typename U3 = na |
| 58 | , typename U4 = na, typename U5 = na |
| 59 | > |
| 60 | struct apply |
| 61 | { |
| 62 | typedef U2 type; |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 63 | NDNBOOST_MPL_AUX_ASSERT_NOT_NA(type); |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 64 | }; |
| 65 | }; |
| 66 | |
| 67 | template<> struct arg<3> |
| 68 | { |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 69 | NDNBOOST_STATIC_CONSTANT(int, value = 3); |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 70 | typedef arg<4> next; |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 71 | NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, tag) |
| 72 | NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, type) |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 73 | |
| 74 | template< |
| 75 | typename U1 = na, typename U2 = na, typename U3 = na |
| 76 | , typename U4 = na, typename U5 = na |
| 77 | > |
| 78 | struct apply |
| 79 | { |
| 80 | typedef U3 type; |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 81 | NDNBOOST_MPL_AUX_ASSERT_NOT_NA(type); |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 82 | }; |
| 83 | }; |
| 84 | |
| 85 | template<> struct arg<4> |
| 86 | { |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 87 | NDNBOOST_STATIC_CONSTANT(int, value = 4); |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 88 | typedef arg<5> next; |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 89 | NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, tag) |
| 90 | NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, type) |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 91 | |
| 92 | template< |
| 93 | typename U1 = na, typename U2 = na, typename U3 = na |
| 94 | , typename U4 = na, typename U5 = na |
| 95 | > |
| 96 | struct apply |
| 97 | { |
| 98 | typedef U4 type; |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 99 | NDNBOOST_MPL_AUX_ASSERT_NOT_NA(type); |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 100 | }; |
| 101 | }; |
| 102 | |
| 103 | template<> struct arg<5> |
| 104 | { |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 105 | NDNBOOST_STATIC_CONSTANT(int, value = 5); |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 106 | typedef arg<6> next; |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 107 | NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, tag) |
| 108 | NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, type) |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 109 | |
| 110 | template< |
| 111 | typename U1 = na, typename U2 = na, typename U3 = na |
| 112 | , typename U4 = na, typename U5 = na |
| 113 | > |
| 114 | struct apply |
| 115 | { |
| 116 | typedef U5 type; |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 117 | NDNBOOST_MPL_AUX_ASSERT_NOT_NA(type); |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 118 | }; |
| 119 | }; |
| 120 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 121 | NDNBOOST_MPL_AUX_NONTYPE_ARITY_SPEC(1,int, arg) |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 122 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 123 | NDNBOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE |