Ticket #4061: gcc-4.5-mpl-1.42.0.patch

File gcc-4.5-mpl-1.42.0.patch, 1.2 KB (added by sefi@…, 13 years ago)

Proposed fix

  • boost/mpl/aux_/preprocessed/gcc/template_arity.hpp

    diff -Nurp boost_1_42_0.old//boost/mpl/aux_/preprocessed/gcc/template_arity.hpp boost_1_42_0/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp
    template< typename F, int N >  
    8383struct template_arity_impl
    8484{
    8585    BOOST_STATIC_CONSTANT(int, value =
    86           sizeof(arity_helper(type_wrapper<F>(), arity_tag<N>())) - 1
     86          sizeof(::boost::mpl::aux::arity_helper(type_wrapper<F>(), arity_tag<N>())) - 1
    8787        );
    8888};
    8989
  • boost/mpl/aux_/template_arity.hpp

    diff -Nurp boost_1_42_0.old//boost/mpl/aux_/template_arity.hpp boost_1_42_0/boost/mpl/aux_/template_arity.hpp
    template< typename F, BOOST_MPL_AUX_NTTP  
    9898struct template_arity_impl
    9999{
    100100    BOOST_STATIC_CONSTANT(int, value =
    101           sizeof(arity_helper(type_wrapper<F>(),arity_tag<N>())) - 1
     101          sizeof(::boost::mpl::aux::arity_helper(type_wrapper<F>(),arity_tag<N>())) - 1
    102102        );
    103103};
    104104