|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r67923 - sandbox/SOC/2010/phoenix3/boost/phoenix/operator/detail
From: thom.heller_at_[hidden]
Date: 2011-01-10 14:42:18
Author: theller
Date: 2011-01-10 14:42:12 EST (Mon, 10 Jan 2011)
New Revision: 67923
URL: http://svn.boost.org/trac/boost/changeset/67923
Log:
added missing file
Added:
sandbox/SOC/2010/phoenix3/boost/phoenix/operator/detail/mem_fun_ptr_eval_result_of.hpp (contents, props changed)
Added: sandbox/SOC/2010/phoenix3/boost/phoenix/operator/detail/mem_fun_ptr_eval_result_of.hpp
==============================================================================
--- (empty file)
+++ sandbox/SOC/2010/phoenix3/boost/phoenix/operator/detail/mem_fun_ptr_eval_result_of.hpp 2011-01-10 14:42:12 EST (Mon, 10 Jan 2011)
@@ -0,0 +1,49 @@
+/*==============================================================================
+ Copyright (c) 2005-2010 Joel de Guzman
+ Copyright (c) 2010 Thomas Heller
+
+ 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)
+==============================================================================*/
+#if !PHOENIX_IS_ITERATING
+
+#ifndef PHOENIX_OPERATOR_DETAIL_MEM_FUN_PTR_EVAL_RESULT_OF_HPP
+#define PHOENIX_OPERATOR_DETAIL_MEM_FUN_PTR_EVAL_RESULT_OF_HPP
+
+#define PHOENIX_MEM_FUN_PTR_EVAL_RESULT_OF_CHILD(Z, N, D) \
+ typedef \
+ typename \
+ evaluator::impl< \
+ typename proto::result_of::child_c<Expr, N>::type \
+ , Env \
+ , int \
+ >::result_type \
+ BOOST_PP_CAT(child, N); \
+ /**/
+
+ #define PHOENIX_ITERATION_PARAMS \
+ (3, (2, PHOENIX_LIMIT, \
+ <boost/phoenix/operator/detail/mem_fun_ptr_eval_result_of.hpp>))
+ #include PHOENIX_ITERATE()
+
+#undef PHOENIX_MEM_FUN_PTR_EVAL_RESULT_OF_CHILD
+
+#endif
+
+#else
+
+ template <typename Env, typename Expr>
+ struct mem_fun_ptr_eval<Env, Expr, PHOENIX_ITERATION>
+ {
+ BOOST_PP_REPEAT(PHOENIX_ITERATION, PHOENIX_MEM_FUN_PTR_EVAL_RESULT_OF_CHILD, _)
+
+ typedef
+ typename boost::result_of<
+ child1(
+ BOOST_PP_ENUM_SHIFTED_PARAMS(PHOENIX_ITERATION, child)
+ )
+ >::type
+ type;
+ };
+
+#endif
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk