|
Boost : |
Subject: Re: [boost] [thread][VS2010] shared_mutex woo's
From: Sergei Politov (spolitov_at_[hidden])
Date: 2010-07-04 12:28:07
On Sat, Jul 3, 2010 at 7:32 PM, Hartmut Kaiser <hartmut.kaiser_at_[hidden]>wrote:
> This:
>
> #include <boost/thread.hpp>
>
> int main()
> {
> boost::shared_mutex mtx;
> boost::upgrade_lock<boost::shared_mutex> l(mtx);
> boost::upgrade_to_unique_lock<boost::shared_mutex> ul(l);
>
> return 0;
> }
>
> still fails on VC21010. Defining BOOST_NO_RVALUE_REFERENCES makes this
> compile, though.
>
> I mentioned it two weeks ago:
http://thread.gmane.org/gmane.comp.lib.boost.user/59072/focus=59493
The patch is also attached.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk