1 ///////////////////////////////////////////////////////////////////////////////
3 /// Definitions of or_N
5 // Copyright 2008 Eric Niebler. Distributed under the Boost
6 // Software License, Version 1.0. (See accompanying file
7 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8 template<bool B, typename Expr, typename BasicExpr, typename G0 , typename G1>
10 : mpl::bool_<matches_<Expr, BasicExpr, typename G1::proto_grammar>::value>
14 template<typename Expr, typename BasicExpr , typename G0 , typename G1>
15 struct or_2<true, Expr, BasicExpr, G0 , G1>
20 template<bool B, typename Expr, typename BasicExpr, typename G0 , typename G1 , typename G2>
23 matches_<Expr, BasicExpr, typename G1::proto_grammar>::value
24 , Expr, BasicExpr, G1 , G2
27 template<typename Expr, typename BasicExpr , typename G0 , typename G1 , typename G2>
28 struct or_3<true, Expr, BasicExpr, G0 , G1 , G2>
33 template<bool B, typename Expr, typename BasicExpr, typename G0 , typename G1 , typename G2 , typename G3>
36 matches_<Expr, BasicExpr, typename G1::proto_grammar>::value
37 , Expr, BasicExpr, G1 , G2 , G3
40 template<typename Expr, typename BasicExpr , typename G0 , typename G1 , typename G2 , typename G3>
41 struct or_4<true, Expr, BasicExpr, G0 , G1 , G2 , G3>
46 template<bool B, typename Expr, typename BasicExpr, typename G0 , typename G1 , typename G2 , typename G3 , typename G4>
49 matches_<Expr, BasicExpr, typename G1::proto_grammar>::value
50 , Expr, BasicExpr, G1 , G2 , G3 , G4
53 template<typename Expr, typename BasicExpr , typename G0 , typename G1 , typename G2 , typename G3 , typename G4>
54 struct or_5<true, Expr, BasicExpr, G0 , G1 , G2 , G3 , G4>
59 template<bool B, typename Expr, typename BasicExpr, typename G0 , typename G1 , typename G2 , typename G3 , typename G4 , typename G5>
62 matches_<Expr, BasicExpr, typename G1::proto_grammar>::value
63 , Expr, BasicExpr, G1 , G2 , G3 , G4 , G5
66 template<typename Expr, typename BasicExpr , typename G0 , typename G1 , typename G2 , typename G3 , typename G4 , typename G5>
67 struct or_6<true, Expr, BasicExpr, G0 , G1 , G2 , G3 , G4 , G5>
72 template<bool B, typename Expr, typename BasicExpr, typename G0 , typename G1 , typename G2 , typename G3 , typename G4 , typename G5 , typename G6>
75 matches_<Expr, BasicExpr, typename G1::proto_grammar>::value
76 , Expr, BasicExpr, G1 , G2 , G3 , G4 , G5 , G6
79 template<typename Expr, typename BasicExpr , typename G0 , typename G1 , typename G2 , typename G3 , typename G4 , typename G5 , typename G6>
80 struct or_7<true, Expr, BasicExpr, G0 , G1 , G2 , G3 , G4 , G5 , G6>
85 template<bool B, typename Expr, typename BasicExpr, typename G0 , typename G1 , typename G2 , typename G3 , typename G4 , typename G5 , typename G6 , typename G7>
88 matches_<Expr, BasicExpr, typename G1::proto_grammar>::value
89 , Expr, BasicExpr, G1 , G2 , G3 , G4 , G5 , G6 , G7
92 template<typename Expr, typename BasicExpr , typename G0 , typename G1 , typename G2 , typename G3 , typename G4 , typename G5 , typename G6 , typename G7>
93 struct or_8<true, Expr, BasicExpr, G0 , G1 , G2 , G3 , G4 , G5 , G6 , G7>
98 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>
101 matches_<Expr, BasicExpr, typename G1::proto_grammar>::value
102 , Expr, BasicExpr, G1 , G2 , G3 , G4 , G5 , G6 , G7 , G8
105 template<typename Expr, typename BasicExpr , typename G0 , typename G1 , typename G2 , typename G3 , typename G4 , typename G5 , typename G6 , typename G7 , typename G8>
106 struct or_9<true, Expr, BasicExpr, G0 , G1 , G2 , G3 , G4 , G5 , G6 , G7 , G8>
111 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>
114 matches_<Expr, BasicExpr, typename G1::proto_grammar>::value
115 , Expr, BasicExpr, G1 , G2 , G3 , G4 , G5 , G6 , G7 , G8 , G9
118 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>
119 struct or_10<true, Expr, BasicExpr, G0 , G1 , G2 , G3 , G4 , G5 , G6 , G7 , G8 , G9>