diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-04-15 21:01:42 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-04-15 21:01:42 +0100 |
commit | d43919bf887530dfcbf85a76d60f1a698641731d (patch) | |
tree | fd0682814c8b6fd473f42e16c538703b11b0686e /gcc/gdbhooks.py | |
parent | eef00439e6723e089e74cd374474e0eac0a9f513 (diff) | |
download | gcc-d43919bf887530dfcbf85a76d60f1a698641731d.zip gcc-d43919bf887530dfcbf85a76d60f1a698641731d.tar.gz gcc-d43919bf887530dfcbf85a76d60f1a698641731d.tar.bz2 |
libstdc++: Add comparison operators to std::filesystem types
Some more C++20 changes from P1614R2, "The Mothership has Landed".
* include/bits/fs_dir.h (file_status): Define operator== for C++20.
(directory_entry): Define operator<=> and remove redundant comparison
operators for C++20.
* include/bits/fs_fwd.h (space_info): Define operator== for C++20.
* include/bits/fs_path.h (path): Define operator<=> and remove
redundant comparison operators for C++20.
* testsuite/27_io/filesystem/path/compare/compare.cc: Fix comment.
* testsuite/27_io/filesystem/path/compare/lwg2936.cc: Likewise.
* testsuite/27_io/filesystem/path/compare/path.cc: Likewise.
* testsuite/27_io/filesystem/path/compare/strings.cc: Likewise.
Diffstat (limited to 'gcc/gdbhooks.py')
0 files changed, 0 insertions, 0 deletions