Typeof operator in C (Re: An Interesting View of "Strong" Vs. "Weak" Typing)

Peter da Silva peter at ficc.uu.net
Mon Jan 15 14:21:53 AEST 1990


> C has no run-time "type" type.  The type value of a typeof construct
> exists only in the mind of the compiler.

Yes, I know that. This discussion originated with a suggestion that such
a type be added to the language. It's kind of hard to see how the semantics
of such a thing could be standardised. What could one do with it at runtime?

The discussion about a typeof operator similar to the one in GCC developed
from that.
-- 
 _--_|\  Peter da Silva. +1 713 274 5180. <peter at ficc.uu.net>.
/      \
\_.--._/ Xenix Support -- it's not just a job, it's an adventure!
      v  "Have you hugged your wolf today?" `-_-'



More information about the Comp.lang.c mailing list