2 ms·
> exceptions in C++ are a foot gun How are they a foot gun? It's not like C++ is the only language with exceptions. So what is particularly dangerous about C++
by spacechild1 2y ago
> exceptions in C++ are a foot gun
How are they a foot gun? It's not like C++ is the only language with exceptions. So what is particularly dangerous about C++ exceptions?
> trying to find some new solution
C++23 already has std::expected (= result type).