diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2016-10-21 18:00:59 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2016-10-21 18:00:59 +0100 |
commit | 2be921271333c81ec9fcf71ba49110bf23971d09 (patch) | |
tree | b8178b78f1624dff2b5fe484dcb72077cf54e82a /move-if-change | |
parent | e59e183f69dcfac77e043854ca2ef37120c6eda1 (diff) | |
download | gcc-2be921271333c81ec9fcf71ba49110bf23971d09.zip gcc-2be921271333c81ec9fcf71ba49110bf23971d09.tar.gz gcc-2be921271333c81ec9fcf71ba49110bf23971d09.tar.bz2 |
LWG2725 Fix error reporting for filesystem::exists
* include/experimental/bits/fs_ops.h
(exists(const path&, error_code&)): Clear error if status is known
(LWG 2725).
(status(const path&, error_code&)): Handle EOVERFLOW.
* testsuite/experimental/filesystem/operations/exists.cc: Test
overload taking an error_code.
From-SVN: r241417
Diffstat (limited to 'move-if-change')
0 files changed, 0 insertions, 0 deletions