mardi 31 mai 2016

std::unique_ptr and exception safety

Do I need to wrap std::unique_ptr usage with try/catch in code which should be exception safe?
std::unique_ptr will hold a raw memory block created by ::malloc (with my custom deleter to call ::free).

Aucun commentaire:

Enregistrer un commentaire