blob: 154476ac94381a827dec4822c016a4d8c037ad66 [file] [log] [blame]
Jeff Thompsona28eed82013-08-22 16:21:10 -07001
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 Thompson3d613fd2013-10-15 15:39:04 -070013NDNBOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN
Jeff Thompsona28eed82013-08-22 16:21:10 -070014template<> struct arg< -1 >
15{
Jeff Thompson3d613fd2013-10-15 15:39:04 -070016 NDNBOOST_STATIC_CONSTANT(int, value = -1);
17 NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
18 NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, type)
Jeff Thompsona28eed82013-08-22 16:21:10 -070019
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 Thompson3d613fd2013-10-15 15:39:04 -070027 NDNBOOST_MPL_AUX_ASSERT_NOT_NA(type);
Jeff Thompsona28eed82013-08-22 16:21:10 -070028 };
29};
30
31template<> struct arg<1>
32{
Jeff Thompson3d613fd2013-10-15 15:39:04 -070033 NDNBOOST_STATIC_CONSTANT(int, value = 1);
Jeff Thompsona28eed82013-08-22 16:21:10 -070034 typedef arg<2> next;
Jeff Thompson3d613fd2013-10-15 15:39:04 -070035 NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
36 NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, type)
Jeff Thompsona28eed82013-08-22 16:21:10 -070037
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 Thompson3d613fd2013-10-15 15:39:04 -070045 NDNBOOST_MPL_AUX_ASSERT_NOT_NA(type);
Jeff Thompsona28eed82013-08-22 16:21:10 -070046 };
47};
48
49template<> struct arg<2>
50{
Jeff Thompson3d613fd2013-10-15 15:39:04 -070051 NDNBOOST_STATIC_CONSTANT(int, value = 2);
Jeff Thompsona28eed82013-08-22 16:21:10 -070052 typedef arg<3> next;
Jeff Thompson3d613fd2013-10-15 15:39:04 -070053 NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
54 NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, type)
Jeff Thompsona28eed82013-08-22 16:21:10 -070055
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 Thompson3d613fd2013-10-15 15:39:04 -070063 NDNBOOST_MPL_AUX_ASSERT_NOT_NA(type);
Jeff Thompsona28eed82013-08-22 16:21:10 -070064 };
65};
66
67template<> struct arg<3>
68{
Jeff Thompson3d613fd2013-10-15 15:39:04 -070069 NDNBOOST_STATIC_CONSTANT(int, value = 3);
Jeff Thompsona28eed82013-08-22 16:21:10 -070070 typedef arg<4> next;
Jeff Thompson3d613fd2013-10-15 15:39:04 -070071 NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
72 NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, type)
Jeff Thompsona28eed82013-08-22 16:21:10 -070073
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 Thompson3d613fd2013-10-15 15:39:04 -070081 NDNBOOST_MPL_AUX_ASSERT_NOT_NA(type);
Jeff Thompsona28eed82013-08-22 16:21:10 -070082 };
83};
84
85template<> struct arg<4>
86{
Jeff Thompson3d613fd2013-10-15 15:39:04 -070087 NDNBOOST_STATIC_CONSTANT(int, value = 4);
Jeff Thompsona28eed82013-08-22 16:21:10 -070088 typedef arg<5> next;
Jeff Thompson3d613fd2013-10-15 15:39:04 -070089 NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
90 NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, type)
Jeff Thompsona28eed82013-08-22 16:21:10 -070091
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 Thompson3d613fd2013-10-15 15:39:04 -070099 NDNBOOST_MPL_AUX_ASSERT_NOT_NA(type);
Jeff Thompsona28eed82013-08-22 16:21:10 -0700100 };
101};
102
103template<> struct arg<5>
104{
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700105 NDNBOOST_STATIC_CONSTANT(int, value = 5);
Jeff Thompsona28eed82013-08-22 16:21:10 -0700106 typedef arg<6> next;
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700107 NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
108 NDNBOOST_MPL_AUX_ARG_TYPEDEF(na, type)
Jeff Thompsona28eed82013-08-22 16:21:10 -0700109
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 Thompson3d613fd2013-10-15 15:39:04 -0700117 NDNBOOST_MPL_AUX_ASSERT_NOT_NA(type);
Jeff Thompsona28eed82013-08-22 16:21:10 -0700118 };
119};
120
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700121NDNBOOST_MPL_AUX_NONTYPE_ARITY_SPEC(1,int, arg)
Jeff Thompsona28eed82013-08-22 16:21:10 -0700122
Jeff Thompson3d613fd2013-10-15 15:39:04 -0700123NDNBOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE