aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/doc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-05-22 16:49:31 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2024-09-15 16:15:28 +0100
commitf91fe35aa14bf4d44f2c8394301858b42e12ee45 (patch)
tree661b90266f4dc3c1099bb73ae648ef4414fbd4b9 /libstdc++-v3/doc
parentc5fd1a483858c0e85b40149aef88be00f94980a7 (diff)
downloadgcc-f91fe35aa14bf4d44f2c8394301858b42e12ee45.zip
gcc-f91fe35aa14bf4d44f2c8394301858b42e12ee45.tar.gz
gcc-f91fe35aa14bf4d44f2c8394301858b42e12ee45.tar.bz2
libstdc++: Add assertion for valid facet type arguments
LWG 436 confirmed that const-qualified types are valid arguments for Facet template parameters, but volatile-qualified types are not. Add an assertion to locale::combine to check for valid types. libstdc++-v3/ChangeLog: * include/bits/locale_classes.h (__is_facet): New helper. * include/bits/locale_classes.tcc (locale::combine): Check that _Facet type is valid.
Diffstat (limited to 'libstdc++-v3/doc')
0 files changed, 0 insertions, 0 deletions