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

Extract typedef

Last modified: 11 February 2024

The Extract Typedef refactoring changes the selected declaration of a type to a typedef definition.

You can use Extract Typedef when the 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.