diff --git a/bind.html b/bind.html index 7532956..a14c127 100644 --- a/bind.html +++ b/bind.html @@ -53,9 +53,9 @@
- A2 operator[] (arg<2>) const { return a2_; } + return f(a[a1_]);
@@ -651,6 +651,26 @@ syntax for functions and member function pointers. (to be written)
++Some compilers, including MSVC 6.0 and Borland C++ 5.5.1, have problems +with the top-level const in function signatures: +
+ ++int f(int const); + +int main() +{ + boost::bind(f, 1); // error +} ++ +
+Workaround: remove the const qualifier from the argument. +
+@@ -683,25 +703,6 @@ its author/maintainer. The other option is use the BOOST_BIND macro to rename bind.
--MSVC 6.0 has problems with const in function signatures: -
- --int f(int const); - -int main() -{ - boost::bind(f, 1); // error -} -- -
-Workaround: remove the const qualifier from the argument. -
-