Jonathan Wakely
3c040fa4a2
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
2016-07-31 18:08:52 +01:00
..
2016-01-04 15:30:50 +01:00
2016-07-15 10:44:22 +03:00
2016-07-31 18:08:52 +01:00
2016-07-20 19:21:59 +01:00
2016-06-16 14:47:35 +01:00
2016-07-29 22:01:39 +03:00
2016-01-04 15:30:50 +01:00
2016-06-16 14:47:35 +01:00
2016-06-16 14:47:35 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-06-16 14:47:35 +01:00
2016-07-31 18:08:52 +01:00
2016-06-16 14:47:35 +01:00
2016-06-16 14:47:35 +01:00
2016-01-04 15:30:50 +01:00
2016-06-16 14:47:35 +01:00
2016-01-04 15:30:50 +01:00
2016-07-20 19:21:53 +01:00
2016-01-04 15:30:50 +01:00
2016-06-16 14:47:35 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-06 13:00:33 +00:00
2016-01-04 15:30:50 +01:00
2016-07-18 17:45:56 +03:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-07-29 22:01:39 +03:00
2016-01-04 15:30:50 +01:00
2016-06-16 14:47:35 +01:00
2016-01-04 15:30:50 +01:00
2016-04-28 13:33:07 +01:00
2016-06-16 14:47:35 +01:00
2016-01-04 15:30:50 +01:00
2016-06-16 14:47:35 +01:00
2016-01-04 15:30:50 +01:00
2016-06-16 14:47:35 +01:00
2016-07-28 18:15:26 +03:00
2016-07-29 22:01:39 +03:00
2016-06-16 14:47:35 +01:00
2016-07-31 18:08:52 +01:00
2016-07-29 22:01:39 +03:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-01-04 15:30:50 +01:00
2016-07-14 12:10:05 +03:00
2016-06-16 14:47:35 +01:00
2016-06-16 14:47:35 +01:00