//===----------------------------------------------------------------------===// // // 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. // //===----------------------------------------------------------------------===// // // template // class packaged_task // { // public: // typedef R result_type; #include #include struct A {}; int main() { static_assert((std::is_same::result_type, A>::value), ""); }