34 ms·
My second point is that with exceptions you can't guarantee the assignment of two objects, because the assignment operator can throw.
by pjc50 10y ago
My second point is that with exceptions you can't guarantee the assignment of two objects, because the assignment operator can throw.
- plorkyeran 10y agoThis was somewhat of a problem in C++03 because writing a copy assignment operator that can't fail is sometimes impossible, but I have never encountered a scenario where I was unable to make move assignment noexcept.