ParentFull threadDerekL·You can do that in modern C++, except that you have to create a lambda and assign it to a variable.View on HN