Ticket #2353: boost_function.patch

File boost_function.patch, 875 bytes (added by Nicola Musatti, 14 years ago)
  • function_base.hpp

     
    2222#include <boost/type_traits/is_integral.hpp>
    2323#include <boost/type_traits/is_volatile.hpp>
    2424#include <boost/type_traits/composite_traits.hpp>
     25#include <boost/type_traits/ice.hpp>
    2526#include <boost/ref.hpp>
    2627#include <boost/mpl/if.hpp>
    2728#include <boost/detail/workaround.hpp>
     
    6667#  define BOOST_FUNCTION_TARGET_FIX(x)
    6768#endif // not MSVC
    6869
    69 #if !BOOST_WORKAROUND(__BORLANDC__, < 0x600)
     70#if !BOOST_WORKAROUND(__BORLANDC__, < 0x5A0)
    7071#  define BOOST_FUNCTION_ENABLE_IF_NOT_INTEGRAL(Functor,Type)              \
    7172      typename ::boost::enable_if_c<(::boost::type_traits::ice_not<          \
    7273                            (::boost::is_integral<Functor>::value)>::value), \