Subject: Re: [boost] Boost using MS Visual Studio 2010 - C2027
From: Peter Dimov (pdimov_at_[hidden])
Date: 2009-11-03 13:04:56
Christofer Weßeling wrote:
> 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:
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
> 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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk