aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-09-01 13:06:13 +0100
committerJonathan Wakely <jwakely@redhat.com>2022-09-01 20:31:00 +0100
commit775fe01b38933850dcb884733c4d0edc7cde45c3 (patch)
tree660784718f15833fe4d53df908bda00f71862129 /gcc
parent33005a4be49466880fe3f5a9317bccc8c1ed423b (diff)
downloadgcc-775fe01b38933850dcb884733c4d0edc7cde45c3.zip
gcc-775fe01b38933850dcb884733c4d0edc7cde45c3.tar.gz
gcc-775fe01b38933850dcb884733c4d0edc7cde45c3.tar.bz2
libstdc++: Optimize std::decay
Define partial specializations of std::decay and its __decay_selector helper so that remove_reference, is_array and is_function are not instantiated for every type, and remove_extent is not instantiated for arrays. libstdc++-v3/ChangeLog: * include/std/type_traits (__decay_selector): Add partial specializations for array types. Only check for function types when not dealing with an array. (decay): Add partial specializations for reference types.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions