3 ms·Not in C you wouldn't.by im3w1l 7y agoNot in C you wouldn't.saagarjha 7y agoYou can with Clang’s blocks extension: https://en.wikipedia.org/wiki/Blocks_(C_language_extension) https://en.wikipedia.org/wiki/Blocks_(C_language_extension)amiga_500 7y agoSure, but the parent post was saying they didn't like nested function handling in c++.MiroF 7y agoAgreed - this feature seems useless in modern C++im3w1l 7y agoNested functions don't exist in C++ (except for lambdas).