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 Typecast
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

cpr2323
New Member

3 Posts

Posted - Nov 02 2021 :  12:46:49 PM  Show Profile  Reply with Quote
I am surprised there isn't a feature for adding typecasts? With all the various forms in C++ it would be great to have a tool to add a typecast. I imagine it is a pop-up with a field for type (auto filled from context?) and a radio button style list of the cast types.

Is there a technical reason this isn't available, or something else?

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Nov 03 2021 :  08:08:26 AM  Show Profile  Reply with Quote
Are you talking about dynamic_cast<>() and static_cast<>(), along with the unchecked direct casts? Or are you talking about something else here?

Personally I just use a VA snippet to do a cast, and then type in the target type.

It sounds like you are looking for something a little more complex.

What are you starting with? Just a variable? A variable being assigned to a different variable? Something else?

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