CLion
 
Get CLion
Join the CLion 2025.1 Early Access Program and try out new features before they are released! Find out more

Extract typedef

Last modified: 08 October 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.