-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble understanding more complex use case #330
Comments
I think some more practical examples would be very helpful for you. We have a large code-base using previous iterations of this library, and a new one using this version now. Unfortunately we can't share any of the code that uses this library. I will think about some more practical and relevant examples we can create to help explain how this works. 🤔 |
@lukevalenty Yes, I figured. That would be great, thanks! :) Have a good weekend |
Hi everyone,
thanks for the interesting library, I really appreciate the design concept and philosophy!
I'm struggling a bit however how one would build up a more complicated example which require additional dependencies (maybe closely related to this issue?). The examples I've seen are either using pure functions or utilize std::cout/global variables. I unfortunately can't seem to grasp the concept from the documentation, tests or the presentations but quite sure I'm missing something.
I don't believe passing them into the lambdas with captures would be possible due to func_ptr_t being a regular function pointer? Would I need to add depending types as a static members but then this would make testing/mocking individual parts quite difficult?
Thanks so much in advance!
Johannes
The text was updated successfully, but these errors were encountered: