void subscriberCallback(const std_msg::UInt16& msg)
void subscriberCallback(const std_msg::UInt16 &msg)
Are these the same thing? Why is the ampersand listed after the data type instead of before the variable?
void subscriberCallback(const std_msg::UInt16& msg)
void subscriberCallback(const std_msg::UInt16 &msg)
Are these the same thing? Why is the ampersand listed after the data type instead of before the variable?