Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:47:40

0001 /*==============================================================================
0002     Copyright (c) 2001-2010 Joel de Guzman
0003     Copyright (c) 2010 Eric Niebler
0004     Copyright (c) 2010 Thomas Heller
0005 
0006     Distributed under the Boost Software License, Version 1.0. (See accompanying
0007     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0008 ==============================================================================*/
0009 
0010 #ifndef BOOST_PHOENIX_STATEMENT_SEQUENCE_HPP
0011 #define BOOST_PHOENIX_STATEMENT_SEQUENCE_HPP
0012 
0013 #include <boost/phoenix/core/limits.hpp>
0014 #include <boost/phoenix/core/expression.hpp>
0015 #include <boost/phoenix/core/meta_grammar.hpp>
0016 #include <boost/proto/operators.hpp> // Included to solve #5715
0017 
0018 namespace boost { namespace phoenix
0019 {
0020     namespace expression
0021     {
0022         template <typename A0, typename A1>
0023         struct sequence
0024             : expr<proto::tag::comma, A0, A1>
0025         {};
0026     }
0027 
0028     namespace rule
0029     {
0030         struct sequence
0031             : expression::sequence<
0032                 meta_grammar
0033               , meta_grammar
0034             >
0035         {};
0036     }
0037 
0038     template <typename Dummy>
0039     struct meta_grammar::case_<proto::tag::comma, Dummy>
0040         : enable_rule<rule::sequence, Dummy>
0041     {};
0042 
0043 }}
0044 
0045 #endif