[Boost-bugs] [Boost C++ Libraries] #6036: incorrect rethrow in member function void mapped_file_impl::map_file(param_type& p)

Subject: [Boost-bugs] [Boost C++ Libraries] #6036: incorrect rethrow in member function void mapped_file_impl::map_file(param_type& p)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-19 13:26:31


#6036: incorrect rethrow in member function void
mapped_file_impl::map_file(param_type& p)
--------------------------------------------------+-------------------------
 Reporter: Valentin Batz <valentin.b@…> | Owner: turkanis
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: iostreams
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: |
--------------------------------------------------+-------------------------
 The rethrow with boost::throw_exception(e) involves 'object slicing' by
 making a copy of the base-class object. The original exception-information
 will be lost. To re-throw the current exception you have to
 throw without any argument.

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