Re:Why the C++ standard ships every three years
by saagarjha on Saturday July 13, 2019 @08:07PM
(#20430883)
> 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.
Aside from exceptions (Can't use them safely if RAII is not universal) and shared pointers, most new language features are pretty localized in effect. E.g. using a lambda in a function originally written in C++98 does not make the existing code less safe. Only your sense of aesthetics would force you to update the rest of it.