]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/phoenix/include/boost/phoenix/statement/sequence.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / phoenix / include / boost / phoenix / statement / sequence.hpp
1 /*==============================================================================
2 Copyright (c) 2001-2010 Joel de Guzman
3 Copyright (c) 2010 Eric Niebler
4 Copyright (c) 2010 Thomas Heller
5
6 Distributed under the Boost Software License, Version 1.0. (See accompanying
7 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8 ==============================================================================*/
9
10 #ifndef BOOST_PHOENIX_STATEMENT_SEQUENCE_HPP
11 #define BOOST_PHOENIX_STATEMENT_SEQUENCE_HPP
12
13 #include <boost/phoenix/core/limits.hpp>
14 #include <boost/phoenix/core/expression.hpp>
15 #include <boost/phoenix/core/meta_grammar.hpp>
16 #include <boost/proto/operators.hpp> // Included to solve #5715
17
18 namespace boost { namespace phoenix
19 {
20 namespace expression
21 {
22 template <typename A0, typename A1>
23 struct sequence
24 : expr<proto::tag::comma, A0, A1>
25 {};
26 }
27
28 namespace rule
29 {
30 struct sequence
31 : expression::sequence<
32 meta_grammar
33 , meta_grammar
34 >
35 {};
36 }
37
38 template <typename Dummy>
39 struct meta_grammar::case_<proto::tag::comma, Dummy>
40 : enable_rule<rule::sequence, Dummy>
41 {};
42
43 }}
44
45 #endif