sizeof a struc field

Doug Gwyn gwyn at smoke.BRL.MIL
Wed Oct 25 06:22:16 AEST 1989


In article <680011 at hpmwjaa.HP.COM> jeffa at hpmwtd.HP.COM (Jeff Aguilera) writes:
>Doug Gwyn is determined to make C useless.  If sizeof((T*)0->member)
>is not valid in ANSI C, then ANSI C must be changed.  C is too
>valuable a programming language to prohibit useful constructs just
>because a few zealous pedants dislike them.

Would you like to explain why, then, I have only ever needed to do
something like that ONCE in my entire C programming career, and
then it was merely in order to conform to somebody else's already-
existing design botch?  (Also, I later figured out a better solution.)

Hardly "making C useless".



More information about the Comp.lang.c mailing list