1 /*==============================================================================
2 Copyright (c) 2005-2010 Joel de Guzman
4 Distributed under the Boost Software License, Version 1.0. (See accompanying
5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 ==============================================================================*/
7 #ifndef BOOST_PHOENIX_CORE_IS_ACTOR_HPP
8 #define BOOST_PHOENIX_CORE_IS_ACTOR_HPP
10 #include <boost/mpl/bool.hpp>
12 // Note to Thomas and any future maintainer: please make this as
13 // lightweight as possible (as it is right now).
15 namespace boost { namespace phoenix
17 ///////////////////////////////////////////////////////////////////////////////
21 // Tests if T is an actor. Evaluates to mpl::true_ or mpl::false_
23 ///////////////////////////////////////////////////////////////////////////////
25 template <typename Expr>
28 template <typename T, typename Enable = void>
34 struct is_actor<T const>
43 template <typename Expr>
44 struct is_actor<actor<Expr> >