Topic: Erratum:Why are fundamental type sizes not exactly specified?


Author: hattons@globalsymmetry.com ("Steven T. Hatton")
Date: Wed, 31 Mar 2004 19:10:34 +0000 (UTC)
Raw View
I put the following in another message that hasn't shown up yet.  For the
most part it is nonsense. Please disregard it:

Conceptually, I can see where exactly specifying the size might be used b=
y a
really smart compiler to pack multiple variables into the same hardware
address using an offset to place the values. E.g., say I have a data type
defined as having 8 bits.=A0=A0The=A0compiler=A0might=A0be=A0able=A0to=A0=
put=A04=A0variables=A0of
that type in the same 32-bit word.=A0=A0(Technically=A0that=A0probably=A0=
would=A0be=A0the
assembler's job.)
--=20
STH

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]