The center for all discussion and news regarding C++.
Although throw() has been deprecated for a while now, I thought this was an interesting bit of history regarding Microsoft's compiler.
throw()
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?
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?