Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!swbatl!texbell!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.lang.c Subject: Re: Typeof operator in C (Re: An Interesting View of "Strong" Vs. "Weak" Typing) Message-ID: <-121H63ggpc2@ficc.uu.net> Date: 14 Jan 90 16:28:13 GMT References: <16678@megaron.cs.arizona.edu> <7106@tank.uchicago.edu> <-K016ODxds13@ficc.uu.net> <5263@buengc.BU.EDU> Reply-To: peter@ficc.uu.net (Peter da Silva) Organization: Xenix Support, FICC Lines: 14 [ Note, I frequently leave off attributions where they're not needed, on the theory that you're less likely to flame a discussion if you don't know the principals. Is this to be a discussion of ideas or of personalities? ] I said... what would typeof() return for some complex structure. This being the typeof that returns a first-class object, not the typeof from GCC > `struct _T_aaa' or something similar. You mean it would return a string? That's an interesting idea. I would have expected it to return a small integer of some sort. You know: _T_INT, _T_CHAR, _T_DOUBLE. -- _--_|\ Peter da Silva. +1 713 274 5180. . / \ \_.--._/ Xenix Support -- it's not just a job, it's an adventure! v "Have you hugged your wolf today?" `-_-'