1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
| ///////////////////////////////////////////////////////////////////////////////
| /// \file or_n.hpp
| /// Definitions of or_N
| //
| // Copyright 2008 Eric Niebler. Distributed under the Boost
| // Software License, Version 1.0. (See accompanying file
| // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
| template<bool B, typename Expr, typename BasicExpr, typename G0 , typename G1>
| struct or_2
| : mpl::bool_<matches_<Expr, BasicExpr, typename G1::proto_grammar>::value>
| {
| typedef G1 which;
| };
| template<typename Expr, typename BasicExpr , typename G0 , typename G1>
| struct or_2<true, Expr, BasicExpr, G0 , G1>
| : mpl::true_
| {
| typedef G0 which;
| };
| template<bool B, typename Expr, typename BasicExpr, typename G0 , typename G1 , typename G2>
| struct or_3
| : or_2<
| matches_<Expr, BasicExpr, typename G1::proto_grammar>::value
| , Expr, BasicExpr, G1 , G2
| >
| {};
| template<typename Expr, typename BasicExpr , typename G0 , typename G1 , typename G2>
| struct or_3<true, Expr, BasicExpr, G0 , G1 , G2>
| : mpl::true_
| {
| typedef G0 which;
| };
| template<bool B, typename Expr, typename BasicExpr, typename G0 , typename G1 , typename G2 , typename G3>
| struct or_4
| : or_3<
| matches_<Expr, BasicExpr, typename G1::proto_grammar>::value
| , Expr, BasicExpr, G1 , G2 , G3
| >
| {};
| template<typename Expr, typename BasicExpr , typename G0 , typename G1 , typename G2 , typename G3>
| struct or_4<true, Expr, BasicExpr, G0 , G1 , G2 , G3>
| : mpl::true_
| {
| typedef G0 which;
| };
| template<bool B, typename Expr, typename BasicExpr, typename G0 , typename G1 , typename G2 , typename G3 , typename G4>
| struct or_5
| : or_4<
| matches_<Expr, BasicExpr, typename G1::proto_grammar>::value
| , Expr, BasicExpr, G1 , G2 , G3 , G4
| >
| {};
| template<typename Expr, typename BasicExpr , typename G0 , typename G1 , typename G2 , typename G3 , typename G4>
| struct or_5<true, Expr, BasicExpr, G0 , G1 , G2 , G3 , G4>
| : mpl::true_
| {
| typedef G0 which;
| };
| template<bool B, typename Expr, typename BasicExpr, typename G0 , typename G1 , typename G2 , typename G3 , typename G4 , typename G5>
| struct or_6
| : or_5<
| matches_<Expr, BasicExpr, typename G1::proto_grammar>::value
| , Expr, BasicExpr, G1 , G2 , G3 , G4 , G5
| >
| {};
| template<typename Expr, typename BasicExpr , typename G0 , typename G1 , typename G2 , typename G3 , typename G4 , typename G5>
| struct or_6<true, Expr, BasicExpr, G0 , G1 , G2 , G3 , G4 , G5>
| : mpl::true_
| {
| typedef G0 which;
| };
| template<bool B, typename Expr, typename BasicExpr, typename G0 , typename G1 , typename G2 , typename G3 , typename G4 , typename G5 , typename G6>
| struct or_7
| : or_6<
| matches_<Expr, BasicExpr, typename G1::proto_grammar>::value
| , Expr, BasicExpr, G1 , G2 , G3 , G4 , G5 , G6
| >
| {};
| template<typename Expr, typename BasicExpr , typename G0 , typename G1 , typename G2 , typename G3 , typename G4 , typename G5 , typename G6>
| struct or_7<true, Expr, BasicExpr, G0 , G1 , G2 , G3 , G4 , G5 , G6>
| : mpl::true_
| {
| typedef G0 which;
| };
| template<bool B, typename Expr, typename BasicExpr, typename G0 , typename G1 , typename G2 , typename G3 , typename G4 , typename G5 , typename G6 , typename G7>
| struct or_8
| : or_7<
| matches_<Expr, BasicExpr, typename G1::proto_grammar>::value
| , Expr, BasicExpr, G1 , G2 , G3 , G4 , G5 , G6 , G7
| >
| {};
| template<typename Expr, typename BasicExpr , typename G0 , typename G1 , typename G2 , typename G3 , typename G4 , typename G5 , typename G6 , typename G7>
| struct or_8<true, Expr, BasicExpr, G0 , G1 , G2 , G3 , G4 , G5 , G6 , G7>
| : mpl::true_
| {
| typedef G0 which;
| };
| template<bool B, typename Expr, typename BasicExpr, typename G0 , typename G1 , typename G2 , typename G3 , typename G4 , typename G5 , typename G6 , typename G7 , typename G8>
| struct or_9
| : or_8<
| matches_<Expr, BasicExpr, typename G1::proto_grammar>::value
| , Expr, BasicExpr, G1 , G2 , G3 , G4 , G5 , G6 , G7 , G8
| >
| {};
| template<typename Expr, typename BasicExpr , typename G0 , typename G1 , typename G2 , typename G3 , typename G4 , typename G5 , typename G6 , typename G7 , typename G8>
| struct or_9<true, Expr, BasicExpr, G0 , G1 , G2 , G3 , G4 , G5 , G6 , G7 , G8>
| : mpl::true_
| {
| typedef G0 which;
| };
| template<bool B, typename Expr, typename BasicExpr, typename G0 , typename G1 , typename G2 , typename G3 , typename G4 , typename G5 , typename G6 , typename G7 , typename G8 , typename G9>
| struct or_10
| : or_9<
| matches_<Expr, BasicExpr, typename G1::proto_grammar>::value
| , Expr, BasicExpr, G1 , G2 , G3 , G4 , G5 , G6 , G7 , G8 , G9
| >
| {};
| template<typename Expr, typename BasicExpr , typename G0 , typename G1 , typename G2 , typename G3 , typename G4 , typename G5 , typename G6 , typename G7 , typename G8 , typename G9>
| struct or_10<true, Expr, BasicExpr, G0 , G1 , G2 , G3 , G4 , G5 , G6 , G7 , G8 , G9>
| : mpl::true_
| {
| typedef G0 which;
| };
|
|