Subject: [Boost-bugs] [Boost C++ Libraries] #6676: lock conversion should be explicit
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-10 23:14:11
#6676: lock conversion should be explicit
------------------------------+---------------------------------------------
Reporter: viboes | Owner: viboes
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost 1.49.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
unique_lock, shared_lock and upgrade_lock provide implicit move
conversions that should be implicit to avoid surprises. In addition it
provides also move assignments that could result in the same kind of
unexpected behavior.
The constructors must be explicit and the assignment removed.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6676> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC