Parameter Hints and Type Hints
In this video, we show how CLion’s parameter hints and type hints help with reading and understanding C++ code, using a practical example. Parameter hints give the developer useful additional information about function calls, while type hints show deduced types in many different contexts. We show the various available features and configuration options that will help you work more effectively with hints in CLion.
00:19 Sample application
01:12 Parameter hints
02:30 Emplace_back example. Hints for non-const references
03:07 Disabling parameter hints and Exclude List
04:01 Type hints for deduced types
04:44 Type hints for structured bindings
04:55 Type hints for templates
05:09 Type hints for functions with auto return type
05:27 Type hints in lambdas
Your CLion team
The Drive to Develop
Subscribe to Blog updates
Thanks, we've got you!
Striving For Better C++ Code, Part II: Function Summaries to Speed Up the Data Flow Analysis
This is the second blog post in the series dedicated to Data Flow Analysis (DFA) and its implementation in CLion. Read the first part here: Striving For Better C++ Code, Part I: Data Flow Analysis Basics Striving For Better C++ Code, Part II: Function Summaries to Speed Up the Data Flow Analysi…
Striving For Better C++ Code, Part I: Data Flow Analysis Basics
CLion comes with a built-in data flow analyzer, which runs constantly when you are writing your code and helps improve your code’s quality. It can reveal various code problems that might later lead to runtime issues, security breaches, and other vulnerabilities. Examples of these useful checks are c…
IDE Features Trainer and Other Improvements in CLion 2023.3 EAP4
Brush up your knowledge of essential IDE functionality easily by using the brand-new IDE Features Trainer.