Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Stat1cV01D
Copy link

This commit adds an ability to use lambda in a more traditional scenario with a lambda and a predefined number of arguments.

This commit reuses add_callback function to extend its functionality. It reuses existing methods and should provide backward compatibility with the existing use cases.

@Stat1cV01D Stat1cV01D force-pushed the add_callback_functor branch 3 times, most recently from 8cee8d3 to e3a0e0e Compare October 4, 2025 16:49
This commit adds an ability to use lambda in a more traditional scenario with a lambda and a predefined number of arguments.

This commit reuses `add_callback` function to extend its functionality. It reuses existing methods and should provide backward compatibility with the existing use cases.
We need to remove reference first so that `const` is applied properly. Then we can add `&` back.
@Stat1cV01D Stat1cV01D force-pushed the add_callback_functor branch from e3a0e0e to 5de2a4e Compare November 2, 2025 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant