This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of C++17 status.
filesystem::copy()
says "no effects"Section: 31.12.13.4 [fs.op.copy] Status: C++17 Submitter: Jonathan Wakely Opened: 2016-04-19 Last modified: 2017-07-30
Priority: 3
View all other issues in [fs.op.copy].
View all issues with C++17 status.
Discussion:
In 31.12.13.4 [fs.op.copy]/8 the final bullet says "Otherwise, no effects" which
implies there is no call to ec.clear()
if nothing happens, nor any
error condition, is that right?
[2016-06 Oulu]
Moved to P0/Ready during issues prioritization.
Friday: status to Immediate
Proposed resolution:
Change 31.12.13.4 [fs.op.copy]/8 as indicated:
Otherwise no effects.For the signature with argumentec
,ec.clear()
.