szaszm commented on pull request #1182:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1182#issuecomment-945746873


   1. If you manage state with lambda captures, then it works file. 
`std::function` only supports value semantics, so even reference forwarding 
wouldn't work, unless we converted the functions to templates on the actual 
callback type instead of type erasure, or reimplemented `std::function` with 
reference semantics.
   2. Ack


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to