diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2025-07-12 13:12:09 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2025-07-16 13:10:30 +0100 |
commit | 7c3081960922d9bd3ea81a9f8ca6e00c23170a2b (patch) | |
tree | b35a327b7a99a9a69d0ff480bc94c057db78fa39 /gcc | |
parent | 4a0967f7509b5fad1c9bda432f71deb0d342a879 (diff) | |
download | gcc-7c3081960922d9bd3ea81a9f8ca6e00c23170a2b.zip gcc-7c3081960922d9bd3ea81a9f8ca6e00c23170a2b.tar.gz gcc-7c3081960922d9bd3ea81a9f8ca6e00c23170a2b.tar.bz2 |
libstdc++: Use basic_string_view for std::bitset deduced types
This change was part of by P2697R1 (Interfacing bitset with string_view)
and should be slightly cheaper to instantiate.
We should consider using basic_string_view for C++17, C++20, and C++23
as well. This patch just conservatively changes it for C++26 to match
the working draft. It's conceivable that a program-defined
specialization of basic_string<_CharT> or basic_string_view<_CharT> will
observe a difference and be affected by this change.
libstdc++-v3/ChangeLog:
* include/std/bitset (__bitset::__string) [__cpp_lib_bitset]:
Change alias to refer to basic_string_view instead.
Reviewed-by: Tomasz KamiĆski <tkaminsk@redhat.com>
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions