Subject: Re: __UNCONST(a)
To: None <>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-userlevel
Date: 06/30/2004 22:21:39
> static inline void *__UNCONST(const void *a) {
>     return ((const char *)a - (const char *)0) + (char *)0; }

Oh, now that is _elegant_.  Thank you very much; I've been looking for
a really good way to define a qualifier-stripper, and that is one of
those things that is unobvious until pointed out but so blindingly
obvious once pointed out that I can't understand how I missed it.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B