//===----------------------------------------------------------------------===// // // ΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚThe LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. 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), ""); } }