You must be registered to post a reply. Click here to register.
T O P I C R E V I E W
jay.carlton
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
1 L A T E S T R E P L I E S (Newest First)
accord
Posted - Oct 23 2013 : 4:12:36 PM It makes sense. I have put in a feature request for this to see what the developers make of it.