Blocks in g++ ?

Joern Rennecke amylaar@cygnus.co.uk
Fri Jun 11 05:44:00 GMT 1999


> yes, that's what i thought. afaik you can't pass nested functions as
> parameters to unrelated calls (in a foreign context), where you can
> pass closures. 

You can.
What you can't do is store a pointer to a nested function and use it after
the function it was nested in has returned.


More information about the Gcc mailing list