3 ms·
You can write exception free code since C++11. All you must do is to add noexcept operator at the end of your function that you don't want to throw an exception
by stephen82 10y ago
You can write exception free code since C++11. All you must do is to add noexcept operator at the end of your function that you don't want to throw an exception and that would do.
Also, in the article it states that cars are using C. If I'm not mistaken, Bjarne himself in a couple of videos he has mentioned certain companies, like BMW and Mercedes, are using C++ for their cars and of course these two companies are not the only ones.
The good thing is that C++ committee did pay attention to what people and companies have suggested and or complained for years and fixed it with the release of C++11.
I really love using C myself, but I wish C had the safety C++ has by default.