// (C) Copyright Tobias Schwinger // // Use modification and distribution are subject to the boost Software License, // Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt). //------------------------------------------------------------------------------ #ifndef BOOST_FT_DETAIL_SYNTHESIZE_HPP_INCLUDED #define BOOST_FT_DETAIL_SYNTHESIZE_HPP_INCLUDED #include #include #include #include #include #include #include namespace boost { namespace function_types { namespace detail { template struct synthesize_impl_o { template struct synthesize_impl_i { }; }; template struct synthesize_impl : detail::synthesize_impl_o < ::boost::function_types::detail::decode_bits::flags , ::boost::function_types::detail::decode_bits::cc_id , ::boost::mpl::size::value > ::template synthesize_impl_i { }; template struct synthesize_func : detail::synthesize_impl < Seq , ::boost::function_types::detail::bits < detail::retag_default_cc < function_types::tag > >::value > { }; template struct synthesize_mfp : detail::synthesize_impl < Seq , ::boost::function_types::detail::bits < detail::retag_default_cc < function_types::tag < typename detail::cv_traits< typename mpl::at_c::type >::tag , nv_dcc_mfp, Tag > > >::value > { }; template::type, typename C = typename mpl::at_c::type> struct synthesize_mop { typedef R C::* type; }; #define BOOST_FT_variations BOOST_FT_function|BOOST_FT_member_pointer #define BOOST_FT_al_path boost/function_types/detail/synthesize_impl #include } } } // namespace ::boost::function_types::detail #endif