Make the throw specification visible in the intellisense (C++)
There are actually two things here...
1. I don't understand why VC++ is deviating from the standard here: the throw specification is ignored in VC++ (I mean, it's the standard, so why simply defy it?)
2. If I want to tell that a function might throw an exception of class X, I must specify it in comments, because, if I simply append "throw (X)" to the function declaration, I cannot see it in intellisense - and what kind of intellisense is that where you need to look in the header file to understand the function??
It is because exception specification are bad. Search the web and you will understand that it make at least as many problems as it solve. In practice, it complicate code and slow application performance and render the code less maintanaible for small benefit if any. The code is less maintanaible because if a new exception is thrown (example new library) then all calling code must be updated.
In large application, it is almost impossible to be sure that no exception were forgotten in the specification list...
However it might make sense to support it for compliance and for standard libraries or third party libraries... although it should probably be disabled for release build by default to improve the performance.