Comment on Implementation of GCC's Nested Functions (vs. C++ Lambdas)parentComments−cenamus3dCan't you convert non-capturing lambdas to function pointers?−alexey-salmin3dYes. The non-capturing case is equivalent to a static function for both lambdas and GCC nested functions.
Comments
Can't you convert non-capturing lambdas to function pointers?
Yes. The non-capturing case is equivalent to a static function for both lambdas and GCC nested functions.