/*============================================================================== Copyright (c) 2005-2010 Joel de Guzman Copyright (c) 2010 Thomas Heller Copyright (c) 2016 Kohei Takahashi 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 BOOST_PHOENIX_OPERATOR_MEMBER_HPP #define BOOST_PHOENIX_OPERATOR_MEMBER_HPP #include #include #include #include #include #include #include #include #include #include #ifdef BOOST_PHOENIX_NO_VARIADIC_EXPRESSION # include #else BOOST_PHOENIX_DEFINE_EXPRESSION_VARARG( (boost)(phoenix)(mem_fun_ptr) , (meta_grammar)(meta_grammar) , _ ) #endif #include namespace boost { namespace phoenix { #if defined(BOOST_PHOENIX_NO_VARIADIC_OPERATOR) #include #else // TODO #endif BOOST_PHOENIX_BINARY_OPERATORS((mem_ptr)) template<> struct phoenix_generator::case_ : proto::or_< proto::when< proto::and_< proto::mem_ptr > , proto::if_ > >()> > , proto::call)> > , proto::otherwise< proto::call(proto::_)> > > {}; namespace result_of { template < typename Context , BOOST_PHOENIX_typename_A_void(BOOST_PHOENIX_LIMIT) , typename Dummy = void > struct mem_fun_ptr_eval; #if defined(BOOST_PHOENIX_NO_VARIADIC_OPERATOR) #include #else // TODO #endif } struct mem_fun_ptr_eval { template struct result; #if defined(BOOST_PHOENIX_NO_VARIADIC_OPERATOR) #include #else // TODO #endif }; template struct default_actions::when : call {}; }} #include #endif