//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // tuple_element >::type #include #include int main() { { typedef double T; typedef std::array C; static_assert((std::is_same::type, T>::value), ""); static_assert((std::is_same::type, T>::value), ""); static_assert((std::is_same::type, T>::value), ""); } { typedef int T; typedef std::array C; static_assert((std::is_same::type, T>::value), ""); static_assert((std::is_same::type, T>::value), ""); static_assert((std::is_same::type, T>::value), ""); } }