Re: [Boost-bugs] [Boost C++ Libraries] #11914: abort is called while boost::filesystem::copy tries to throw and exception

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11914: abort is called while boost::filesystem::copy tries to throw and exception
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-01-15 09:19:53


#11914: abort is called while boost::filesystem::copy tries to throw and exception
---------------------------------------+---------------------
  Reporter: jpo38 <jean.porcherot@…> | Owner:
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: None
   Version: Boost 1.60.0 | Severity: Problem
Resolution: | Keywords:
---------------------------------------+---------------------

Comment (by jpo38 <jean.porcherot@…>):

 Problem is that code ends up throwing an exception from a noexpt function!

 The version of copy_directory the code posted reaches does not have
 BOOST_NOEXCEPT flag (line 532 of
 boost.org/doc/libs/1_60_0/boost/filesystem/operations.hpp), while the
 version of copy_file reached has it (line 548).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11914#comment:1>
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:19 UTC