aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2022-09-02 15:16:37 -0400
committerPatrick Palka <ppalka@redhat.com>2022-09-02 15:16:37 -0400
commit68c23af0dd7403c95c43310edc15669d4dacb005 (patch)
treec9b7264916d8bda7f3214b67c098d1cbe25e0430 /gcc
parentb6aa7d45b502c01f8703c8d2cee2690f9aa8e282 (diff)
downloadgcc-68c23af0dd7403c95c43310edc15669d4dacb005.zip
gcc-68c23af0dd7403c95c43310edc15669d4dacb005.tar.gz
gcc-68c23af0dd7403c95c43310edc15669d4dacb005.tar.bz2
libstdc++: Consistently use ::type when deriving from __and/or/not_
Now that these internal type traits are (again) class templates, it's better to derive from the trait's ::type instead of from the trait itself, for sake of a shallower inheritance chain. libstdc++-v3/ChangeLog: * include/std/tuple (tuple::_UseOtherCtor): Use ::type when deriving from __and_, __or_ or __not_. * include/std/type_traits (negation): Likewise. (is_unsigned): Likewise. (__is_implicitly_default_constructible): Likewise. (is_trivially_destructible): Likewise. (__is_nt_invocable_impl): Likewise.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions