
3 Nov
2009
3 Nov
'09
6:04 p.m.
Christofer Weßeling wrote:
Hi!
I've tried to build Boost using MS Visual Studio 2010, but I'm getting a C2027 error. Basically the problem is known and located as a problem of the MS compiler: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?Feedba...
This is not the same issue. The code in the bug report is incorrect (it passes one argument to &CTest::is_A instead of two). Your code seems correct. You might consider submitting a separate bug report against MSVC 2010.
Is there still a workaround?
One option is to use MSVC2010's own std::bind; another is to wrap the member function in mem_fn.