jeudi 2 juillet 2015

Why std::unique_lock is not derived from std::lock_guard

std::lock_guard and std::unique_lock interfaces look very similar, in their common part (constructors and destructor).

Why there is no hierarchical relationship between them?

Aucun commentaire:

Enregistrer un commentaire