Index: bind.hpp =================================================================== --- bind.hpp (revision 166) +++ bind.hpp (revision 174) @@ -29,6 +29,8 @@ #include #include #include +#include +#include // Borland-specific bug, visit_each() silently fails to produce code @@ -1880,6 +1882,7 @@ #define BOOST_BIND_MF_NAME(X) X #define BOOST_BIND_MF_CC + #include #include Index: bind_mf_cc.hpp =================================================================== --- bind_mf_cc.hpp (revision 166) +++ bind_mf_cc.hpp (revision 174) @@ -36,7 +36,7 @@ template - _bi::bind_t, typename _bi::list_av_1::type> + typename disable_if, _bi::bind_t, typename _bi::list_av_1::type> >::type BOOST_BIND(R (BOOST_BIND_MF_CC T::*f) (), A1 a1) { typedef _mfi::BOOST_BIND_MF_NAME(mf0) F; @@ -46,7 +46,7 @@ template - _bi::bind_t, typename _bi::list_av_1::type> + typename disable_if, _bi::bind_t, typename _bi::list_av_1::type> >::type BOOST_BIND(R (BOOST_BIND_MF_CC T::*f) () const, A1 a1) { typedef _mfi::BOOST_BIND_MF_NAME(cmf0) F; @@ -81,7 +81,7 @@ template - _bi::bind_t, typename _bi::list_av_2::type> + typename disable_if, _bi::bind_t, typename _bi::list_av_2::type> >::type BOOST_BIND(R (BOOST_BIND_MF_CC T::*f) (B1), A1 a1, A2 a2) { typedef _mfi::BOOST_BIND_MF_NAME(mf1) F; @@ -92,7 +92,7 @@ template - _bi::bind_t, typename _bi::list_av_2::type> + typename disable_if, _bi::bind_t, typename _bi::list_av_2::type> >::type BOOST_BIND(R (BOOST_BIND_MF_CC T::*f) (B1) const, A1 a1, A2 a2) { typedef _mfi::BOOST_BIND_MF_NAME(cmf1) F; @@ -127,7 +127,7 @@ template - _bi::bind_t, typename _bi::list_av_3::type> + typename disable_if, _bi::bind_t, typename _bi::list_av_3::type> >::type BOOST_BIND(R (BOOST_BIND_MF_CC T::*f) (B1, B2), A1 a1, A2 a2, A3 a3) { typedef _mfi::BOOST_BIND_MF_NAME(mf2) F; @@ -138,7 +138,7 @@ template - _bi::bind_t, typename _bi::list_av_3::type> + typename disable_if, _bi::bind_t, typename _bi::list_av_3::type> >::type BOOST_BIND(R (BOOST_BIND_MF_CC T::*f) (B1, B2) const, A1 a1, A2 a2, A3 a3) { typedef _mfi::BOOST_BIND_MF_NAME(cmf2) F; @@ -173,7 +173,7 @@ template - _bi::bind_t, typename _bi::list_av_4::type> + typename disable_if, _bi::bind_t, typename _bi::list_av_4::type> >::type BOOST_BIND(R (BOOST_BIND_MF_CC T::*f) (B1, B2, B3), A1 a1, A2 a2, A3 a3, A4 a4) { typedef _mfi::BOOST_BIND_MF_NAME(mf3) F; @@ -184,7 +184,7 @@ template - _bi::bind_t, typename _bi::list_av_4::type> + typename disable_if, _bi::bind_t, typename _bi::list_av_4::type> >::type BOOST_BIND(R (BOOST_BIND_MF_CC T::*f) (B1, B2, B3) const, A1 a1, A2 a2, A3 a3, A4 a4) { typedef _mfi::BOOST_BIND_MF_NAME(cmf3) F; @@ -219,7 +219,7 @@ template - _bi::bind_t, typename _bi::list_av_5::type> + typename disable_if, _bi::bind_t, typename _bi::list_av_5::type> >::type BOOST_BIND(R (BOOST_BIND_MF_CC T::*f) (B1, B2, B3, B4), A1 a1, A2 a2, A3 a3, A4 a4, A5 a5) { typedef _mfi::BOOST_BIND_MF_NAME(mf4) F; @@ -230,7 +230,7 @@ template - _bi::bind_t, typename _bi::list_av_5::type> + typename disable_if, _bi::bind_t, typename _bi::list_av_5::type> >::type BOOST_BIND(R (BOOST_BIND_MF_CC T::*f) (B1, B2, B3, B4) const, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5) { typedef _mfi::BOOST_BIND_MF_NAME(cmf4) F; @@ -265,7 +265,7 @@ template - _bi::bind_t, typename _bi::list_av_6::type> + typename disable_if, _bi::bind_t, typename _bi::list_av_6::type> >::type BOOST_BIND(R (BOOST_BIND_MF_CC T::*f) (B1, B2, B3, B4, B5), A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6) { typedef _mfi::BOOST_BIND_MF_NAME(mf5) F; @@ -276,7 +276,7 @@ template - _bi::bind_t, typename _bi::list_av_6::type> + typename disable_if, _bi::bind_t, typename _bi::list_av_6::type> >::type BOOST_BIND(R (BOOST_BIND_MF_CC T::*f) (B1, B2, B3, B4, B5) const, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6) { typedef _mfi::BOOST_BIND_MF_NAME(cmf5) F; @@ -311,7 +311,7 @@ template - _bi::bind_t, typename _bi::list_av_7::type> + typename disable_if, _bi::bind_t, typename _bi::list_av_7::type> >::type BOOST_BIND(R (BOOST_BIND_MF_CC T::*f) (B1, B2, B3, B4, B5, B6), A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7) { typedef _mfi::BOOST_BIND_MF_NAME(mf6) F; @@ -322,7 +322,7 @@ template - _bi::bind_t, typename _bi::list_av_7::type> + typename disable_if, _bi::bind_t, typename _bi::list_av_7::type> >::type BOOST_BIND(R (BOOST_BIND_MF_CC T::*f) (B1, B2, B3, B4, B5, B6) const, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7) { typedef _mfi::BOOST_BIND_MF_NAME(cmf6) F; @@ -357,7 +357,7 @@ template - _bi::bind_t, typename _bi::list_av_8::type> + typename disable_if, _bi::bind_t, typename _bi::list_av_8::type> >::type BOOST_BIND(R (BOOST_BIND_MF_CC T::*f) (B1, B2, B3, B4, B5, B6, B7), A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8) { typedef _mfi::BOOST_BIND_MF_NAME(mf7) F; @@ -368,7 +368,7 @@ template - _bi::bind_t, typename _bi::list_av_8::type> + typename disable_if, _bi::bind_t, typename _bi::list_av_8::type> >::type BOOST_BIND(R (BOOST_BIND_MF_CC T::*f) (B1, B2, B3, B4, B5, B6, B7) const, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8) { typedef _mfi::BOOST_BIND_MF_NAME(cmf7) F; @@ -403,7 +403,7 @@ template - _bi::bind_t, typename _bi::list_av_9::type> + typename disable_if, _bi::bind_t, typename _bi::list_av_9::type> >::type BOOST_BIND(R (BOOST_BIND_MF_CC T::*f) (B1, B2, B3, B4, B5, B6, B7, B8), A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9) { typedef _mfi::BOOST_BIND_MF_NAME(mf8) F; @@ -414,7 +414,7 @@ template - _bi::bind_t, typename _bi::list_av_9::type> + typename disable_if, _bi::bind_t, typename _bi::list_av_9::type> >::type BOOST_BIND(R (BOOST_BIND_MF_CC T::*f) (B1, B2, B3, B4, B5, B6, B7, B8) const, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9) { typedef _mfi::BOOST_BIND_MF_NAME(cmf8) F;