//===----------------------------------------------------------------------===// // // 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_size> // : public integral_constant { }; #include #include int main() { { typedef std::tuple<> T; static_assert((std::is_base_of, std::tuple_size >::value), ""); } { typedef std::tuple T; static_assert((std::is_base_of, std::tuple_size >::value), ""); } { typedef std::tuple T; static_assert((std::is_base_of, std::tuple_size >::value), ""); } { typedef std::tuple T; static_assert((std::is_base_of, std::tuple_size >::value), ""); } }