mercredi 8 avril 2020

Is it possible that make_shared has no any exception but returns a nullptr?

I am recently dealing with a problem with shared_ptr. I am curious if make_shared failed, it will raise exceptions right? Is there any kind of situation that the make_shared returned a nullptr but without any exceptions?

Aucun commentaire:

Enregistrer un commentaire