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