What is std::bind in C++ ?

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Shouldn't you say that each method of the class has a first implicit parameter that is the `this` pointer?
That is why you must use `a` as the first parameter and that's why when you declare a callback internally to a class you must use `this` as the first parameter...

myzhar
Автор

Ah now i understood that 'bind' is used in ROS2 for defining callback functions. Your tutorials are very resourceful and understandable. Thanks

logicraju
Автор

Easy to follow and really informative video! Would love to see a video about the usage of shared pointers in ROS.

rubertpunk
Автор

thank you very much, i have understand the 'bind' in c plus plus!

bailoard
Автор

Thank you. So it's like currying, then.

eigenfield