tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: qsort_r



> My irritation with not being able to pass a data pointer through
> qsort() boiled over just now.

This sort of thing is one reason I do not consider nested function
support optional in any compiler I consider using: they make it easy to
curry away function arguments to generate something suitable for
passing to (say) qsort, thereby fixing the problem once, for all uses,
rather than depending on each called thing being fixed separately.

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML                mouse%rodents-montreal.org@localhost
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index