How to get the address of a C++ lambda function within the lambda itself?
There is no way to directly get the address of a lambda object within a lambda prior to c++23. Now, as it happens this is quite often useful. The most common use is in order to recurse. The y_combinator comes from languages where you could not talk about yourself until you where defined. It can … Read more