diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2024-07-29 19:23:54 +0200 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2024-10-05 14:34:29 -0400 |
commit | 9fc5b8f956948e069d9b69ceed7316940bc798e2 (patch) | |
tree | c319b16f54b9bda395cca22e146b778ef76fd393 /gcc/fortran | |
parent | 7c0d1e9f2a2f1d41d9eb755c36c871d92638c4b7 (diff) | |
download | gcc-9fc5b8f956948e069d9b69ceed7316940bc798e2.zip gcc-9fc5b8f956948e069d9b69ceed7316940bc798e2.tar.gz gcc-9fc5b8f956948e069d9b69ceed7316940bc798e2.tar.bz2 |
libstdc++: add std::is_virtual_base_of
Added by P2985R0 for C++26. This simply exposes the compiler
builtin, and adds the feature-testing macro.
libstdc++-v3/ChangeLog:
* include/bits/version.def: Added the feature-testing macro.
* include/bits/version.h: Regenerated.
* include/std/type_traits: Add support for
std::is_virtual_base_of and std::is_virtual_base_of_v,
implemented in terms of the compiler builtin.
* testsuite/20_util/is_virtual_base_of/value.cc: New test.
Signed-off-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions