C++ : Is it ok to destroy a std::promise before future.get() is called?
C++ : Is it ok to destroy a std::promise before future.get() is called?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"
I have a hidden feature that I promised to tell you about.
This is a YouTube's feature which works on Desktop.
First, Ensure that the video is playing before proceeding.
Then, type the letters 'awesome' on your keyboard as the next step.
The progress bar on YouTube will be altered to a flashing rainbow.
A quick introduction about me,
Hey, I am Delphi.
I am here to provide you with assistance in answering your questions.
C++ : Is it ok to destroy a std::promise before future.get() is called?
I am available to answer your more specific queries, so feel free to comment or start a chat.
Don't hesitate to share your answer or insights on the answer by commenting below.
Providing an answer will be acknowledged and appreciated with a 'heart' from me.
: a it C++ destroy to called? std::promise future.get() is Is before ok