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.
Yes. The non-capturing case is equivalent to a static function for both lambdas and GCC nested functions.