[Boost-bugs] [Boost C++ Libraries] #12640: is_empty and remove_all may throw even when called with error_code& argument.

Subject: [Boost-bugs] [Boost C++ Libraries] #12640: is_empty and remove_all may throw even when called with error_code& argument.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-12-01 18:48:26


#12640: is_empty and remove_all may throw even when called with error_code&
argument.
-------------------------------+------------------------
 Reporter: nigel.pattinson@… | Owner: bemandawes
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: filesystem
  Version: Boost 1.62.0 | Severity: Problem
 Keywords: |
-------------------------------+------------------------
 Some of the code that underpins is_empty and remove_all constructs
 directory_iterator objects without passing through an error_code&
 argument. I have spotted this in both is_empty_directory and
 remove_all_aux . The latter also uses operator++ on the iterator rather
 than calling increment, I haven't checked whether this is more widespread.

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