jeudi 27 juillet 2017

C++ what are std::shared_future and std::promise

I understand what's std::future but i don't understand when and HOW to use std::shared_future and std::promise, and i couldn't find a good explanation online.

I will appreciate some help wrapping my head around it.

By the way the example here isn't really clear http://ift.tt/2tN8zpT

Aucun commentaire:

Enregistrer un commentaire