Ticket #3912: function.hpp.patch

File function.hpp.patch, 613 bytes (added by ccambly@…, 13 years ago)

Restrict the use of the function iterator workaround

  • boost/function.

    old new  
    2323// in anything that may be included by function_template.hpp doesn't break
    2424#include <boost/function/detail/prologue.hpp>
    2525
    26 // Visual Age C++ doesn't handle the file iteration well
    27 #if BOOST_WORKAROUND(__IBMCPP__, >= 500)
     26// Older Visual Age C++ version do not handle the file iteration well
     27#if BOOST_WORKAROUND(__IBMCPP__, >= 500) && BOOST_WORKAROUND(__IBMCPP__, < 800)
    2828#  if BOOST_FUNCTION_MAX_ARGS >= 0
    2929#    include <boost/function/function0.hpp>
    3030#  endif