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? |
|
|