How to get type hint for auto variables in C++?
已回答
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);
};
请先登录再写评论。
Hello!
You can use Quick Documentation: https://www.jetbrains.com/help/clion/viewing-inline-documentation.html.