[Boost-bugs] [Boost C++ Libraries] #6877: bug in exception_ptr_test.cpp

Subject: [Boost-bugs] [Boost C++ Libraries] #6877: bug in exception_ptr_test.cpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-05-08 23:35:54

#6877: bug in exception_ptr_test.cpp
 Reporter: anonymous | Owner: emildotchevski
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: exception
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
 I think that the exception_ptr_test.cpp file has a bug that is preventing
 it from testing what is intended. The boost::exception_ptr object that is
 being used in boost::bind as part of the thread function does not have
 boost::ref() around it, so what is actually being passed to the thread
 invocation is a copy of the exception_ptr object. This means that when
 the thread function set the exception_ptr, the information never makes its
 way to the outside world after the join. A patch is attached to correct
 the problem.

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