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

Type hints for C/C++

Last modified: 26 May 2024

To increase code readability, CLion provides type hints in the editor inlined with your code. For example, type hints are shown for deduced types:

Type hints for deduced types

Also, the hints are present for auto variables and structured bindings:

Type hints for auto variables and structured bindings

Another example is lambda return types:

Type hints for lambda return types

Watch this video to learn more about parameter hints and type hints: