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);
};
1

Please sign in to leave a comment.