/*============================================================================= Copyright (c) 2001-2007 Joel de Guzman 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) ==============================================================================*/ #ifndef PHOENIX_STATEMENT_SEQUENCE_HPP #define PHOENIX_STATEMENT_SEQUENCE_HPP #include #include namespace boost { namespace phoenix { struct sequence_eval { template struct result { typedef void type; }; template static void eval(Env const& env, A0& a0, A1& a1) { a0.eval(env); a1.eval(env); } }; namespace detail { template struct comma_result { typedef actor< typename as_composite< sequence_eval , actor , actor >::type > type; }; } template inline typename detail::comma_result::type operator,(actor const& a0, actor const& a1) { return compose(a0, a1); } }} #endif