Define __cpp_lib_tuple_element_t in <tuple> not <utility>
authorJonathan Wakely <jwakely@redhat.com>
Thu, 14 Jun 2018 14:01:29 +0000 (15:01 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 14 Jun 2018 14:01:29 +0000 (15:01 +0100)
commit74755c6afcf45be8723e30f08b6e38ec105a636a
tree95c6dd5820822f26417358663c9ee419c55a7ba1
parent75b5bc017bbeb83768564a3bd8128e382d327102
Define __cpp_lib_tuple_element_t in <tuple> not <utility>

* include/std/tuple (__cpp_lib_tuple_element_t): Move feature test
macro from <utility> and change type to long.
* include/std/utility (__cpp_lib_tuple_element_t): Remove.
* testsuite/20_util/tuple/tuple_element_t.cc: Check for feature test
macro.

From-SVN: r261596
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/tuple
libstdc++-v3/include/std/utility
libstdc++-v3/testsuite/20_util/tuple/tuple_element_t.cc