CLion
 
2022.1
Get CLion
You are viewing the documentation for an earlier version of CLion.

Extract typedef

Last modified: 25 July 2022

The Extract Typedef refactoring changes the selected declaration of a type to a typedef definition. You can apply Extract Typedef when actual declaration is cumbersome, potentially confusing, or likely to vary from one implementation to another, or just to make code presentation more clear and readable.

Example