3 ms·
C++ has it of course. But it’s a bad practice.
by speedgoose 5y ago
C++ has it of course. But it’s a bad practice.
- TheMonarchist 5y agoChecked exceptions were deprecated in C++11 and removed in C++17. Now there's just noexcept to declare that no exceptions will propagate to call site. The feature was always opt-in anyway. The compiler has always just assumed that anything can throw everything, unless informed otherwise.