Boost logo

Boost :

Subject: Re: [boost] Boost using MS Visual Studio 2010 - C2027
From: Christofer Weßeling (c.wesseling_at_[hidden])
Date: 2009-11-03 13:08:53


hi!

ok.. - "wrap the member function in mem_fn. " can you give me some dummy
code how to do that, or another hint...
wrapping in case of packing it into another namespace or {..} ?

2009/11/3 Peter Dimov <pdimov_at_[hidden]>

> 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?FeedbackID=321192
>>
>
> 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.
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk