// (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). //------------------------------------------------------------------------------ // no include guards, this file is intended for multiple inclusion #if BOOST_FT_ARITY_LOOP_PREFIX # ifndef BOOST_FT_DETAIL_COMPONENTS_IMPL_MASTER_HPP_INCLUDED # define BOOST_FT_DETAIL_COMPONENTS_IMPL_MASTER_HPP_INCLUDED # include # include # include # include # include # endif # define BOOST_FT_type_name # if !BOOST_FT_mfp # define BOOST_FT_types \ R BOOST_PP_COMMA_IF(BOOST_FT_arity) BOOST_FT_params(BOOST_PP_EMPTY) # else # define BOOST_FT_types \ R, typename class_transform::type \ BOOST_PP_COMMA_IF(BOOST_PP_DEC(BOOST_FT_arity)) \ BOOST_FT_params(BOOST_PP_EMPTY) # endif #elif BOOST_FT_ARITY_LOOP_IS_ITERATING template< BOOST_FT_tplargs(BOOST_PP_IDENTITY(typename)), typename L> struct components_impl { typedef encode_bits bits; typedef constant mask; typedef function_types::components type; typedef components_mpl_sequence_tag tag; typedef mpl::integral_c function_arity; typedef vector< BOOST_FT_types > types; }; #elif BOOST_FT_ARITY_LOOP_SUFFIX # undef BOOST_FT_types # undef BOOST_FT_type_name #else # error "attempt to use arity loop master file without loop" #endif