From C++11 standard (15.1.p4):
The memory for the exception object is allocated in an unspecified way, except as noted in 3.7.4.1
What if allocation fails -- will it throw std::bad_alloc instead? Call std::terminate? Unspecified?
Aucun commentaire:
Enregistrer un commentaire