|
Boost Users : |
Subject: Re: [Boost-users] upgrade_to_unique_lock doesn't compile with vc2010
From: Braden McDaniel (braden_at_[hidden])
Date: 2010-06-01 10:48:01
On Tue, 2010-06-01 at 07:48 +0100, Anthony Williams wrote:
> Braden McDaniel <braden_at_[hidden]> writes:
>
> > Using Boost 1.43, this program:
> >
> > # include <boost/thread.hpp>
> >
> > int main()
> > {
> > boost::shared_mutex mutex;
> > boost::upgrade_lock<boost::shared_mutex> lock(mutex);
> > boost::upgrade_to_unique_lock<boost::shared_mutex> write_lock(lock);
> > }
> >
> > ... produces this error when compiled with Visual C++ 2010:
>
> That is trac issue 2501. It was fixed post 1.43, so should be in 1.44.
Aha. Thanks.
-- Braden McDaniel <braden_at_[hidden]>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net