libstdc++: Use std::type_identity_t in <string_view> as per LWG 3950 [PR114400]
commitf4605c53ea2eeafc13e14dd1ad00a0caf80057e2
authorJonathan Wakely <jwakely@redhat.com>
Wed, 20 Mar 2024 11:07:56 +0000 (20 11:07 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Sat, 23 Mar 2024 11:07:57 +0000 (23 11:07 +0000)
tree6bd969aaf2fbd45be14a5ada58abfea90b94d6ca
parent4a46a48ebc7b7b3976af49f6f8dabd65c6ddf64b
libstdc++: Use std::type_identity_t in <string_view> as per LWG 3950 [PR114400]

The difference between __type_identity_t and std::type_identity_t is
observable, as demonstrated in the PR. Nobody in LWG seems to think this
an example we should really care about, but it seems easy and harmless
to change this.

libstdc++-v3/ChangeLog:

PR libstdc++/114400
* include/std/string_view (operator==): Use std::type_identity_t
in C++20 instead of our own __type_identity_t.
libstdc++-v3/include/std/string_view