I am editing an instance variable within a member function that is run using std::async
and is stored in an std::future
. However, changes to this instance variable are not persisting.
It may also be important to note that I am running many of these std::async
which encapsulate my member function at once.
Aucun commentaire:
Enregistrer un commentaire