Open sonygod opened 1 year ago
Oooh, nice catch!! I like your solutions too! Wasn't aware of those functions and will definitely use those!!
I was initially thinking to just generate a lambda. But that'd look worse. XD
auto fn2 = []() { test4->say(); };
and get this cpp code
should be