you guys use instead of that ?
I put noexcept to functions that never throw, but don't specify what exceptions can be thrown
TIL.. why would you need that? Seems a good thing it was removed
Otherwise catch (...) must be used for every try block... one more ques does catch() have only one parameter ?
You would still need catch with it no?
Yes only one param
I meant to say that I won't be able to have multiple catch blocks, there would be only 1 catch (...) for whole code. It's bad isn't it ?
Yes bad ig.. but upto your specific use case might be good..
Even if dynamic spec, you can have multiple catch blocks
Обсуждают сегодня