diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-11-10 19:18:57 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-11-11 00:41:09 +0000 |
commit | f7251b7886c47cbd5c9ffb217eb9849f023f76da (patch) | |
tree | cd6a5fb2603c7d381dd5b0180d06c24545b34e94 /gcc | |
parent | 7c02efd45f5e727ab8a1b397bce8817f4ab65954 (diff) | |
download | gcc-f7251b7886c47cbd5c9ffb217eb9849f023f76da.zip gcc-f7251b7886c47cbd5c9ffb217eb9849f023f76da.tar.gz gcc-f7251b7886c47cbd5c9ffb217eb9849f023f76da.tar.bz2 |
libstdc++: Simplify std::string_view comparisons (LWG 3950)
LWG 3950 points out that the comparisons of std::basic_string_view can
be simplified to just a single overload of operator== and a single
overload of operator<=>. Those overloads work fine for homogeneous
comparisons of two string view objects.
libstdc++-v3/ChangeLog:
* include/std/string_view (operator==, operator<=>): Remove
redundant overloads (LWG 3950).
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions