Following code is ok on Microsoft and Clang compilers but fails on GCC. It throws std::system_error with message -1. Is it know issue?
std::system_error
-1
#include <future> int main() { std::packaged_task<void()> task([](){}); task(); }
GCC
Clang
Visual C++
Aucun commentaire:
Enregistrer un commentaire