[Boost-bugs] [Boost C++ Libraries] #3886: [patch] boost::thread future.hpp fails to compile with SunStudio 12.1 on Solaris 10

Subject: [Boost-bugs] [Boost C++ Libraries] #3886: [patch] boost::thread future.hpp fails to compile with SunStudio 12.1 on Solaris 10
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-02-01 16:54:01


#3886: [patch] boost::thread future.hpp fails to compile with SunStudio 12.1 on
Solaris 10
----------------------------------------------+-----------------------------
 Reporter: John Keeping <john@…> | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: thread
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
----------------------------------------------+-----------------------------
 When compiling the boost::asio examples the following error is produced:

 "../../../../../../boost/thread/future.hpp", line 415: Error: Formal
 argument other of type boost::unique_lock<boost::mutex> in call to
 boost::unique_lock<boost::mutex>::operator=(boost::unique_lock<boost::mutex>)
 has an inaccessible copy constructor

 None of the boost::thread examples seem to use this functionality as they
 compile cleanly.

 The attached patch allows the ASIO examples to compile and run.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3886>
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:02 UTC