Although throw()
has been deprecated for a while now, I thought this was an interesting bit of history regarding Microsoft’s compiler.
Although throw()
has been deprecated for a while now, I thought this was an interesting bit of history regarding Microsoft’s compiler.
Why didn’t they follow the way Java does it by forcing you to specify all possible throws of a function? Is it because it’s too verbose?
Or rather, why isn’t nothrow the default unless specified that a function can throw?