Warning, file /include/boost/phoenix/core/as_actor.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007 #ifndef BOOST_PHOENIX_CORE_AS_ACTOR_HPP
0008 #define BOOST_PHOENIX_CORE_AS_ACTOR_HPP
0009
0010 #include <boost/phoenix/core/actor.hpp>
0011 #include <boost/fusion/support/void.hpp>
0012
0013 namespace boost { namespace phoenix
0014 {
0015 template <typename T, typename U = typename is_actor<T>::type >
0016 struct as_actor
0017 {
0018 typedef T type;
0019
0020 static type const &
0021 convert(T const & t)
0022 {
0023 return t;
0024 }
0025 };
0026 }}
0027
0028 #endif