12345678910111213141516171819202122232425262728 |
- #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
|