std::lock_guard and std::unique_lock interfaces look very similar, in their common part (constructors and destructor).
std::lock_guard
std::unique_lock
Why there is no hierarchical relationship between them?
Aucun commentaire:
Enregistrer un commentaire