Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のコードは、Microsoft および Clang コンパイラでは問題ありませんが、GCC では失敗します。std::system_errorメッセージ付きでスローします-1。それは問題を知っていますか?
std::system_error
-1
#include <future> int main() { std::packaged_task<void()> task([](){}); task(); }
GCC
クラン
ビジュアル C++