This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Blocks in g++ ?
- To: egcs at egcs dot cygnus dot com
- Subject: Re: Blocks in g++ ?
- From: "Thomas Steffen" <for_replies_only at iname dot com>
- Date: 14 Jun 1999 10:09:20 +0200
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.