Promise and future are two different classes which you can use to get the data from thread once the data is fully prepared.
Full Video : • promise And future In C++
JOIN ME
/ @cppnuts
/ cppnuts
#multithreading #cppprogramming #softwareengineer