jay.carlton
Ketchup Master
USA
65 Posts |
Posted - Oct 23 2013 : 3:34:19 PM
|
Hi,
Now that the override keyword is supported in native C++ in VS 2012, it would be nice to add that annotation to all functions where it applies when refactoring or editing an existing class. That way, any change in the parent class to make an overridden function non-virtual or to rename it, etc, would be caught at compile time.
Could VA X sport an option to add that keyword to all overridden virtual functions in a class? Presumably the presence of that keyword might also help eliminate false positives when searching for references or definitions of functions, but that's a secondary benefit compared to the intellisense and compiler checking.
Thanks again, Jay
|
|