diff --git a/include/boost/bind/bind.hpp b/include/boost/bind/bind.hpp index 3b3e0c0..7600077 100644 --- a/include/boost/bind/bind.hpp +++ b/include/boost/bind/bind.hpp @@ -481,7 +481,7 @@ template< class R, class F, class L > struct is_bind_expression< _bi::bind_t< R, // generic function objects -#if !BOOST_WORKAROUND(__GNUC__, < 5) +#if !BOOST_WORKAROUND(__GNUC__, < 6) template _bi::bind_t::type> @@ -493,7 +493,8 @@ template #else -// g++ 4.x considers boost::bind( &X::f ) ambiguous w/ the above +// g++ 4.x (and some 5.x) consider boost::bind( &X::f ) +// ambiguous if the variadic form above is used template _bi::bind_t::type>