//===----------------------------------------------------------------------===// // // 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. // //===----------------------------------------------------------------------===// // // Tuples of smart pointers; based on bug #18350 // auto_ptr doesn't have a copy constructor that takes a const &, but tuple does. #include #include int main () { { std::tuple> up; std::tuple> sp; std::tuple> wp; // std::tuple> ap; } { std::tuple> up; std::tuple> sp; std::tuple> wp; // std::tuple> ap; } { std::tuple> up; std::tuple> sp; std::tuple> wp; // std::tuple> ap; } }