diff --git a/include/boost/msm/back/bind_helpers.hpp b/include/boost/msm/back/bind_helpers.hpp index a537ec3..fc224b2 100644 --- a/include/boost/msm/back/bind_helpers.hpp +++ b/include/boost/msm/back/bind_helpers.hpp @@ -18,8 +18,11 @@ namespace boost { namespace msm { namespace back // helper to replace std::plus as the lack of implicit conversion makes it not usable in one of our bind template struct plus2 - : public std::binary_function<_Ty, _Tz, _Ty> { + typedef _Ty first_argument_type; + typedef _Tz second_argument_type; + typedef _Ty result_type; + // functor for operator+ _Ty operator()( _Ty _Left, _Tz _Right) const {