PR libstdc++/78939 make tuple_size<cv T> depend on tuple_size<T>
authorJonathan Wakely <jwakely@redhat.com>
Fri, 12 May 2017 14:43:11 +0000 (15:43 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 12 May 2017 14:43:11 +0000 (15:43 +0100)
commitf859f912e4df1a6dad3ab6f61e8b8ce0dd77e16d
tree3b942f21fa3f0a2e06f599a1823b14fb74877d8f
parent48ac9454faa6494df3a8bd1bacf4c924b1e848dc
PR libstdc++/78939 make tuple_size<cv T> depend on tuple_size<T>

PR libstdc++/78939
* include/std/utility (tuple_size<cv T>): Only define partial
specializations when tuple_size<T>::value is valid.
* testsuite/20_util/tuple/78939.cc: New.
* testsuite/20_util/tuple/cv_tuple_size_neg.cc: New.

From-SVN: r247973
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/utility
libstdc++-v3/testsuite/20_util/tuple/78939.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/tuple/cv_tuple_size_neg.cc [new file with mode: 0644]