How to get type hint for auto variables in C++?
Answered
Is it possible to see a type hint for a C++ auto variable? I haven't managed to enable them. Are they available? E.g. I would like to see the type of callback in
auto callback = [&publisher](const hrwros_msgs::BoxHeightInfo &msg) {
\\ ...
return sensor_info_callback(msg);
};
Please sign in to leave a comment.
Hello!
You can use Quick Documentation: https://www.jetbrains.com/help/clion/viewing-inline-documentation.html.