Use typedef (C++)
In This Article
Converts a macro that declares an alias for a type into a typedef declaration.
#Availability
Available from the context menu or via shortcuts:
- when the cursor is anywhere within a type alias definition preprocessor macro.
#Examples
│#define MyInt int
Result:
typedef int MyInt;│