// Boost.TypeErasure library // // Copyright 2011 Steven Watanabe // // 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) // // $Id: normalize_deduced.hpp 78443 2012-05-13 00:17:07Z steven_watanabe $ #if !defined(BOOST_PP_IS_ITERATING) #ifndef BOOST_TYPE_ERASURE_DETAIL_NORMALIZE_DEDUCED_HPP_INCLUDED #define BOOST_TYPE_ERASURE_DETAIL_NORMALIZE_DEDUCED_HPP_INCLUDED #include #include #include namespace boost { namespace type_erasure { namespace detail { template struct normalize_deduced; template struct normalize_placeholder; #define BOOST_PP_FILENAME_1 #define BOOST_PP_ITERATION_LIMITS (1, BOOST_TYPE_ERASURE_MAX_ARITY) #include BOOST_PP_ITERATE() } } } #endif #else #define N BOOST_PP_ITERATION() #define BOOST_TYPE_ERASURE_NORMALIZE_PLACEHOLDER(z, n, data) \ typename ::boost::type_erasure::detail::normalize_placeholder< \ M, \ BOOST_PP_CAT(U, n) \ >::type template class T, BOOST_PP_ENUM_PARAMS(N, class U)> struct normalize_deduced > { typedef typename ::boost::type_erasure::deduced< T >::type type; }; #undef BOOST_TYPE_ERASURE_NORMALIZE_PLACEHOLDER #undef N #endif