ros2 / demos

Apache License 2.0
491 stars 329 forks source link

Migrate std::bind calls to lambda expressions #659

Closed FelipeGdM closed 8 months ago

FelipeGdM commented 8 months ago

This PR is a follow up from the work done in the documentation https://github.com/ros2/ros2_documentation/pull/4041

This PR migrates the C++ examples that use std::bind to equivalent lambda expression code

fujitatomoya commented 8 months ago

@tylerjw could you do another review for this?

@FelipeGdM after this PR is merged, we can get back to https://github.com/ros2/ros2_documentation/pull/4041 to make sure if everything aligns with this PR.

clalancette commented 8 months ago

@tylerjw to review

sloretz commented 8 months ago

CI (repos build: --packages-up-to action_tutorials_cpp composition image_tools intra_process_demo lifecycle logging_demo test: --packages-select action_tutorials_cpp composition image_tools intra_process_demo lifecycle logging_demo)