summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '3rdParty/Boost/src/boost/phoenix/core/as_actor.hpp')
-rw-r--r--3rdParty/Boost/src/boost/phoenix/core/as_actor.hpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/3rdParty/Boost/src/boost/phoenix/core/as_actor.hpp b/3rdParty/Boost/src/boost/phoenix/core/as_actor.hpp
new file mode 100644
index 0000000..5bbfb61
--- /dev/null
+++ b/3rdParty/Boost/src/boost/phoenix/core/as_actor.hpp
@@ -0,0 +1,28 @@
+/*=============================================================================
+ 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 BOOST_PHOENIX_CORE_AS_ACTOR_HPP
+#define BOOST_PHOENIX_CORE_AS_ACTOR_HPP
+
+#include <boost/phoenix/core/actor.hpp>
+#include <boost/fusion/support/void.hpp>
+
+namespace boost { namespace phoenix
+{
+ template <typename T, typename U = typename is_actor<T>::type >
+ struct as_actor
+ {
+ typedef T type;
+
+ static type const &
+ convert(T const & t)
+ {
+ return t;
+ }
+ };
+}}
+
+#endif