Chris@16
|
1
|
Chris@16
|
2 // Copyright Aleksey Gurtovoy 2000-2008
|
Chris@16
|
3 //
|
Chris@16
|
4 // Distributed under the Boost Software License, Version 1.0.
|
Chris@16
|
5 // (See accompanying file LICENSE_1_0.txt or copy at
|
Chris@16
|
6 // http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
7 //
|
Chris@16
|
8
|
Chris@16
|
9 // *Preprocessed* version of the main "quote.hpp" header
|
Chris@16
|
10 // -- DO NOT modify by hand!
|
Chris@16
|
11
|
Chris@16
|
12 namespace boost { namespace mpl {
|
Chris@16
|
13
|
Chris@16
|
14 template< typename T, bool has_type_ >
|
Chris@16
|
15 struct quote_impl
|
Chris@16
|
16
|
Chris@16
|
17 {
|
Chris@16
|
18 typedef typename T::type type;
|
Chris@16
|
19 };
|
Chris@16
|
20
|
Chris@16
|
21 template< typename T >
|
Chris@16
|
22 struct quote_impl< T,false >
|
Chris@16
|
23 {
|
Chris@16
|
24 typedef T type;
|
Chris@16
|
25 };
|
Chris@16
|
26
|
Chris@16
|
27 template<
|
Chris@16
|
28 template< typename P1 > class F
|
Chris@16
|
29 , typename Tag = void_
|
Chris@16
|
30 >
|
Chris@16
|
31 struct quote1
|
Chris@16
|
32 {
|
Chris@16
|
33 template< typename U1 > struct apply
|
Chris@16
|
34
|
Chris@16
|
35 {
|
Chris@16
|
36 typedef typename quote_impl<
|
Chris@16
|
37 F<U1>
|
Chris@16
|
38 , aux::has_type< F<U1> >::value
|
Chris@16
|
39 >::type type;
|
Chris@16
|
40 };
|
Chris@16
|
41 };
|
Chris@16
|
42
|
Chris@16
|
43 template<
|
Chris@16
|
44 template< typename P1, typename P2 > class F
|
Chris@16
|
45 , typename Tag = void_
|
Chris@16
|
46 >
|
Chris@16
|
47 struct quote2
|
Chris@16
|
48 {
|
Chris@16
|
49 template< typename U1, typename U2 > struct apply
|
Chris@16
|
50
|
Chris@16
|
51 {
|
Chris@16
|
52 typedef typename quote_impl<
|
Chris@16
|
53 F< U1,U2 >
|
Chris@16
|
54 , aux::has_type< F< U1,U2 > >::value
|
Chris@16
|
55 >::type type;
|
Chris@16
|
56 };
|
Chris@16
|
57 };
|
Chris@16
|
58
|
Chris@16
|
59 template<
|
Chris@16
|
60 template< typename P1, typename P2, typename P3 > class F
|
Chris@16
|
61 , typename Tag = void_
|
Chris@16
|
62 >
|
Chris@16
|
63 struct quote3
|
Chris@16
|
64 {
|
Chris@16
|
65 template< typename U1, typename U2, typename U3 > struct apply
|
Chris@16
|
66
|
Chris@16
|
67 {
|
Chris@16
|
68 typedef typename quote_impl<
|
Chris@16
|
69 F< U1,U2,U3 >
|
Chris@16
|
70 , aux::has_type< F< U1,U2,U3 > >::value
|
Chris@16
|
71 >::type type;
|
Chris@16
|
72 };
|
Chris@16
|
73 };
|
Chris@16
|
74
|
Chris@16
|
75 template<
|
Chris@16
|
76 template< typename P1, typename P2, typename P3, typename P4 > class F
|
Chris@16
|
77 , typename Tag = void_
|
Chris@16
|
78 >
|
Chris@16
|
79 struct quote4
|
Chris@16
|
80 {
|
Chris@16
|
81 template<
|
Chris@16
|
82 typename U1, typename U2, typename U3, typename U4
|
Chris@16
|
83 >
|
Chris@16
|
84 struct apply
|
Chris@16
|
85
|
Chris@16
|
86 {
|
Chris@16
|
87 typedef typename quote_impl<
|
Chris@16
|
88 F< U1,U2,U3,U4 >
|
Chris@16
|
89 , aux::has_type< F< U1,U2,U3,U4 > >::value
|
Chris@16
|
90 >::type type;
|
Chris@16
|
91 };
|
Chris@16
|
92 };
|
Chris@16
|
93
|
Chris@16
|
94 template<
|
Chris@16
|
95 template<
|
Chris@16
|
96 typename P1, typename P2, typename P3, typename P4
|
Chris@16
|
97 , typename P5
|
Chris@16
|
98 >
|
Chris@16
|
99 class F
|
Chris@16
|
100 , typename Tag = void_
|
Chris@16
|
101 >
|
Chris@16
|
102 struct quote5
|
Chris@16
|
103 {
|
Chris@16
|
104 template<
|
Chris@16
|
105 typename U1, typename U2, typename U3, typename U4
|
Chris@16
|
106 , typename U5
|
Chris@16
|
107 >
|
Chris@16
|
108 struct apply
|
Chris@16
|
109
|
Chris@16
|
110 {
|
Chris@16
|
111 typedef typename quote_impl<
|
Chris@16
|
112 F< U1,U2,U3,U4,U5 >
|
Chris@16
|
113 , aux::has_type< F< U1,U2,U3,U4,U5 > >::value
|
Chris@16
|
114 >::type type;
|
Chris@16
|
115 };
|
Chris@16
|
116 };
|
Chris@16
|
117
|
Chris@16
|
118 }}
|
Chris@16
|
119
|