aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-fold.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2016-07-31 18:08:52 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2016-07-31 18:08:52 +0100
commit3c040fa4a29b52220f308ca0b14d6e721f31ba82 (patch)
treecd212317232614b40be7551e82f1bddfa39cf65a /gcc/c/c-fold.c
parentf245e3a0ee9bc8a32a2adcc656fa5bd5236b8aca (diff)
downloadgcc-3c040fa4a29b52220f308ca0b14d6e721f31ba82.zip
gcc-3c040fa4a29b52220f308ca0b14d6e721f31ba82.tar.gz
gcc-3c040fa4a29b52220f308ca0b14d6e721f31ba82.tar.bz2
libstdc++/72745 add static assertion for invalid tuple access
PR libstdc++/72745 * include/std/array (get): Use positive message for static assertions. * include/std/functional (_Safe_tuple_element_t): Fix indentation. * include/std/tuple (tuple_element<I, tuple<>>): Add partial specialization for invalid indices, with static assertion. * testsuite/20_util/tuple/element_access/get_neg.cc: New test. From-SVN: r238924
Diffstat (limited to 'gcc/c/c-fold.c')
0 files changed, 0 insertions, 0 deletions