Can the copy constructor of std::string
throw in C++11?
(Stackoverflow says my question does not meet its quality standards, and it seems like it just wants more prose, so here is some dummy text.)
Can the copy constructor of std::string
throw in C++11?
(Stackoverflow says my question does not meet its quality standards, and it seems like it just wants more prose, so here is some dummy text.)
It can result in a memory allocation, and that can throw. So yes, it can throw.