uses of void

Doug Gwyn gwyn at brl-smoke.ARPA
Mon Aug 18 20:22:50 AEST 1986

In article <86900012 at haddock> karl at haddock writes:
>The "abstract units" of sizeof() are "char" by definition.  (Too many users
>have been assuming sizeof(char)==1, so it's official in C++ and ANSI C.

Don't be too sure that this won't change by the time of the final X3J11
standard.  The internationalization issue has yet to be resolved, and
my sense is that the cleanest way to do that will to be to distinguish
between the basic data chunk size and a datum that can hold a character
representation.  I'm sure there will be a lot of sentiment for using
chars in both r^oles, even though that would force an incredible
amount of kludgery in many places in the practical use of the language..

More information about the Comp.lang.c mailing list