4 ms·
> E.g. using a lambda in a function originally written in C++98 does not make the existing code less safe. You may not be able to if the lambda captures state
by saagarjha 7y ago
> E.g. using a lambda in a function originally written in C++98 does not make the existing code less safe.
You may not be able to if the lambda captures state and you need to convert it to a function pointer.