Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Add C++11 override keyword to fn declarations
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jay.carlton
Ketchup Master

USA
65 Posts

Posted - Oct 23 2013 :  3:34:19 PM  Show Profile  Reply with Quote
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

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Oct 23 2013 :  4:12:36 PM  Show Profile  Reply with Quote
It makes sense. I have put in a feature request for this to see what the developers make of it.

case=77940

Edited by - accord on Oct 23 2013 4:14:03 PM
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000