Chris@16: /*============================================================================== Chris@16: Copyright (c) 2001-2010 Joel de Guzman Chris@16: Copyright (c) 2010 Thomas Heller Chris@16: Chris@16: Distributed under the Boost Software License, Version 1.0. (See accompanying Chris@16: file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) Chris@16: ==============================================================================*/ Chris@16: #ifndef BOOST_PHOENIX_OBJECT_DETAIL_CAST_TARGET_HPP Chris@16: #define BOOST_PHOENIX_OBJECT_DETAIL_CAST_TARGET_HPP Chris@16: Chris@16: namespace boost { namespace phoenix Chris@16: { Chris@16: namespace detail Chris@16: { Chris@16: template Chris@16: struct target Chris@16: { Chris@16: typedef T type; Chris@16: }; Chris@16: Chris@16: namespace result_of Chris@16: { Chris@16: template Chris@16: struct target Chris@16: { Chris@16: typedef Chris@16: typename proto::detail::uncvref< Chris@16: typename proto::result_of::value::type Chris@16: >::type Chris@16: target_type; Chris@16: typedef typename target_type::type type; Chris@16: }; Chris@16: Chris@16: template Chris@16: struct target Chris@16: : target Chris@16: {}; Chris@16: Chris@16: template Chris@16: struct target Chris@16: : target Chris@16: {}; Chris@16: } Chris@16: } Chris@16: }} Chris@16: Chris@16: #endif