diff options
author | Joseph Faulls <Joseph.Faulls@imgtec.com> | 2023-06-02 15:44:48 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-06-06 12:43:47 +0100 |
commit | 3d9b3ddb5fc9087c17645d53e6bcb1881e1955a4 (patch) | |
tree | 2b48ddb26ccb5da68ce17128372dfd0cea84fea6 /libstdc++-v3/include/std/array | |
parent | 7e8e071c4b64f1b6ea5ddf528724fc793a0f0e36 (diff) | |
download | gcc-3d9b3ddb5fc9087c17645d53e6bcb1881e1955a4.zip gcc-3d9b3ddb5fc9087c17645d53e6bcb1881e1955a4.tar.gz gcc-3d9b3ddb5fc9087c17645d53e6bcb1881e1955a4.tar.bz2 |
libstdc++: Do not assume existence of char8_t codecvt facet
It is not required that codecvt<char8_t, char, mbstate_t> facet be
supported by the locale, nor is it added as part of the default locale.
This can lead to dangerous behaviour when static_cast.
libstdc++-v3/ChangeLog:
* include/bits/locale_classes.tcc: Remove check for
codecvt<char8_t, char, mbstate_t> facet.
Diffstat (limited to 'libstdc++-v3/include/std/array')
0 files changed, 0 insertions, 0 deletions