diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-08-31 15:00:24 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-09-01 20:31:00 +0100 |
commit | cd20d9482a1f10ddf1c398c1a1d8421f97dfdefa (patch) | |
tree | 1a83467f811f25b52b5ced57d048d650dcab2e19 /gcc | |
parent | 0a4b219d39c74aec7ebf87ac3be38d8f93efd634 (diff) | |
download | gcc-cd20d9482a1f10ddf1c398c1a1d8421f97dfdefa.zip gcc-cd20d9482a1f10ddf1c398c1a1d8421f97dfdefa.tar.gz gcc-cd20d9482a1f10ddf1c398c1a1d8421f97dfdefa.tar.bz2 |
libstdc++: Use built-ins for some variable templates
This avoids having to instantiate a class template that just uses the
same built-in anyway.
None of the corresponding class templates have any type-completeness
static assertions, so we're not losing any diagnostics by using the
built-ins directly.
libstdc++-v3/ChangeLog:
* include/std/type_traits (is_enum_v, is_class_v, is_union_v)
(is_empty_v, is_polymoprhic_v, is_abstract_v, is_final_v)
(is_base_of_v, is_aggregate_v): Use built-in directly instead of
instantiating class template.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions