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
 Option to remove [[deprecated]] C++ content
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

arcanumghost
Starting Member

USA
1 Posts

Posted - Apr 09 2020 :  6:38:23 PM  Show Profile  Reply with Quote
C++14 adds the ability to deprecate code without removing it with the [[deprecated]] syntax. These are registering as errors unless deprecation errors are suppressed for a block of code.

It would be useful to have to the option to filter these functions out of autocomplete suggestions. This way at a glance, one could choose the correct implementation between similarly-named functions.

PS: I am working in UE4 where UE_DEPRECATED macro is defined as [[deprecated]]. This has been used to refactor several areas of the codebase, for a good example see Initialize and Initialize_AnyThread in FAnimNode_Base.

feline
Whole Tomato Software

United Kingdom
18724 Posts

Posted - Apr 10 2020 :  09:11:30 AM  Show Profile  Reply with Quote
That makes sense, I have put in a feature request for this to see what our developers make of it:

case=142112

it is useful to know this is used in Unreal Engine, so we know we have a good number of users this will help.

zen is the art of being at one with the two'ness
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