How do you stop future in C++?

On reaching the end of main , the std::future<int> object held in result is destroyed , which will wait for the task to finish, and then discard the result, cleaning up any resources used.

Sizin İçin Seçtik  What is Future string in Dart?

Leave a Reply

Your email address will not be published. Required fields are marked *