Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Add Typecast

You must be registered to post a reply.
Click here to register.

Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji

Forum code is on.
Html is off.

Check to subscribe to this topic.

T O P I C    R E V I E W
cpr2323 Posted - Nov 02 2021 : 12:46:49 PM
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?
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Nov 03 2021 : 08:08:26 AM
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?

© 2021 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000