Re: [Boost-bugs] [Boost C++ Libraries] #2704: range lock algorithm fails with iterators

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2704: range lock algorithm fails with iterators
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-06-08 12:09:53


#2704: range lock algorithm fails with iterators
--------------------------------------+-------------------------------------
 Reporter: jwakely.boost@… | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: Boost 1.38.0 | Component: thread
  Version: Boost 1.37.0 | Severity: Problem
 Keywords: |
--------------------------------------+-------------------------------------

Comment(by Jonathan Wakely <jwakely.boost@…>):

 The bug is not "mutex is not copyable" it is that the range lock algo
 doesn't work with iterators. The original testcase does not require mutex
 to be copyable, because it doesn't insert any mutexes into the vector. But
 it still fails to compile, because of a bug in boost::lock.

 If it helps you understand the problem I'll try to come up with a
 different test case that uses a type that is Lockable and Copyable,
 instead of boost::mutex

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2704#comment:4>
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:03 UTC