logoalt Hacker News

cenamustoday at 4:16 AM1 replyview on HN

Can't you convert non-capturing lambdas to function pointers?


Replies

alexey-salmintoday at 5:51 AM

Yes. The non-capturing case is equivalent to a static function for both lambdas and GCC nested functions.