Blocks in g++ ?
Thomas Steffen
for_replies_only@iname.com
Wed Jun 30 15:43:00 GMT 1999
Martin Uecker <muecker@mayn.de> wrote:
Martin> In GNU-C you can do something like this:
...
Martin> qsort(N, closure(int, (int i, int j), compare_foo(A[i], A[j])),
Martin> closure(void, (int i, int j), SWAP(A[i], A[j])));
i didn't know that, is it documented anywhere? sounds a bit like what
i'm trying to achive. do you have access to the automatic variables
defined around the call to qsort? does it work for g++?
thanks very much for the hint...
"Thomas Steffen" <for_replies_only@iname.com>
--
We regret to announce that Windows 2000 wont be ready before 1901.
More information about the Gcc
mailing list