Use lambda through std::function reference, you cannot modify the value in lambda
Use lambda through std::function reference, you cannot modify the value in lambda
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!
(stackoverflow.com/users/21146812/zheci)ZheCi |
(stackoverflow.com/users/18519921/wohlstad)wohlstad |
(stackoverflow.com/users/2700898/matt)Matt |
(stackoverflow.com/users/8769985/francesco)francesco |
A special thanks goes out to the (https://stackoverflow.com/questions/75345584/use-lambda-through-stdfunction-reference-you-cannot-modify-the-value-in-lambd)Stackexchange community |
I wish you all a wonderful day! Stay safe :)
c++14 c++17 c++11 lambda c++