Back to home page

EIC code displayed by LXR

 
 

    


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     Copyright (c) 2001-2007 Joel de Guzman
0003 
0004     Distributed under the Boost Software License, Version 1.0. (See accompanying 
0005     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
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