//===----------------------------------------------------------------------===// // // 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> // template <class... Types> class tuple; // explicit tuple(const T&...); #include <tuple> #include <string> #include <cassert> int main() { { std::tuple<int> t = 2; assert(std::get<0>(t) == 2); } }