/*============================================================================= 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 PHOENIX_OBJECT_CONST_CAST_HPP #define PHOENIX_OBJECT_CONST_CAST_HPP #include namespace boost { namespace phoenix { namespace impl { template struct const_cast_eval { template struct result { typedef T type; }; template static RT eval(Env const& env, U& obj) { return const_cast(obj.eval(env)); } }; } template inline actor, U>::type> const_cast_(U const& obj) { return compose >(obj); } }} #endif