error: terminate called after throwing an instance of \'std::future_error\' what(): std::future_error: No associated state
g++ --version 7.5.0 however, the same lines of