aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-02-06 17:25:26 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2019-02-06 17:25:26 +0000
commit373c726ec641e33ca640a51d6f4200318101f49d (patch)
treecdb60d48320834f95dda954fada89379850803ec /gcc
parent12f82acc9e55a16334d303ae2b88609bdcbf13e5 (diff)
downloadgcc-373c726ec641e33ca640a51d6f4200318101f49d.zip
gcc-373c726ec641e33ca640a51d6f4200318101f49d.tar.gz
gcc-373c726ec641e33ca640a51d6f4200318101f49d.tar.bz2
PR libstdc++/89102 fix common_type<> and common_type<T> specializations
This is a partial implementation of the revised std::common_type rules from P0435R1. PR libstdc++/89102 (partial) * include/std/type_traits (common_type<>): Define. (common_type<T>): Derive from common_type<T, T>. * testsuite/20_util/common_type/requirements/explicit_instantiation.cc: Test zero-length template argument list. * testsuite/20_util/common_type/requirements/sfinae_friendly_1.cc: Test additional single argument cases. * testsuite/20_util/common_type/requirements/sfinae_friendly_2.cc: Adjust expected error. From-SVN: r268586
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions