Ticket #4765: function.patch

File function.patch, 909 bytes (added by Jean Pierre LeJacq <jplejacq@…>, 12 years ago)

patch file to fix issue.

  • boost/function/function_template.hpp

    old new namespace boost {  
    763763               (this->functor BOOST_FUNCTION_COMMA BOOST_FUNCTION_ARGS);
    764764    }
    765765#else
    766     result_type operator()(BOOST_FUNCTION_PARMS) const;
     766    inline result_type operator()(BOOST_FUNCTION_PARMS) const;
    767767#endif
    768768
    769769    // The distinction between when to use BOOST_FUNCTION_FUNCTION and
    namespace boost {  
    10001000
    10011001#if !BOOST_WORKAROUND(BOOST_MSVC, < 1300)
    10021002  template<typename R BOOST_FUNCTION_COMMA BOOST_FUNCTION_TEMPLATE_PARMS>
     1003  inline
    10031004  typename BOOST_FUNCTION_FUNCTION<
    10041005      R BOOST_FUNCTION_COMMA BOOST_FUNCTION_TEMPLATE_ARGS>::result_type
    1005   inline
    10061006  BOOST_FUNCTION_FUNCTION<R BOOST_FUNCTION_COMMA BOOST_FUNCTION_TEMPLATE_ARGS>
    10071007  ::operator()(BOOST_FUNCTION_PARMS) const
    10081008  {