//===----------------------------------------------------------------------===// // // ΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚThe LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // template class tuple; // template // class tuple_element > // { // public: // typedef Ti type; // }; #include #include int main() { { typedef std::tuple T; static_assert((std::is_same::type, int>::value), ""); } { typedef std::tuple T; static_assert((std::is_same::type, char>::value), ""); static_assert((std::is_same::type, int>::value), ""); } { typedef std::tuple T; static_assert((std::is_same::type, int*>::value), ""); static_assert((std::is_same::type, char>::value), ""); static_assert((std::is_same::type, int>::value), ""); } }