Skip to content

Conversation

@chrehall68
Copy link
Member

Use polymorphic wrappers instead of lambdas in order to capture both lvalues and rvalues in the thread

  • added base class FunctionWrapper
  • added subclass StaticFunctionWrapper for static functions
  • added subclass MemberFunctionWrapper for member functions to be called by a pointer to an instance

@chrehall68 chrehall68 merged commit 4e860b9 into main Apr 6, 2023
@chrehall68 chrehall68 deleted the thread-refactor branch April 6, 2023 19:41
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.

2 participants