Closed alkino closed 9 years ago
@K-ballo Looks like the additional Rt2
member overloads introduce an ambiguity when the return type is already void
.
Indeed it does. I do not know how to resolve the ambiguity in C++98 terms, so I'm thinking disabling the additional overload when Rt2 == R
. Thoughts?
I was thinking the same - enable_if
or an equivalent is C++98. Nothing more elegant comes to mind.
Should be fixed by #11.
The wrong commit is: https://github.com/boostorg/bind/commit/30921a3889f3aad1fb9456aa3417f16dcf4c23c1
Failed with gcc 4.9.2 and clang 3.6.0 on linux.
gcc: