Subject: [boost] [thread][VS2010] shared_mutex woo's
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2010-07-03 11:32:51


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.

Regards Hartmut

---------------
Meet me at BoostCon
www.boostcon.com