How soon can `sizeof (tagged_type)' be used?
Erik Naggum
enag at ifi.uio.no
Mon May 20 08:49:28 AEST 1991
Ron Guilmette writes:
|
| Are either or both of these examples legal?
|
| enum E { red, green = sizeof (enum E), blue };
I think I may be missing something vital in your question.
What is "sizeof (enum E)" supposed to return if not the same as
"sizeof (int)"?
</Erik>
--
Erik Naggum Professional Programmer +47-2-836-863
Naggum Software Electronic Text <enag at ifi.uio.no>
0118 OSLO, NORWAY Computer Communications <erik at naggum.uu.no>
More information about the Comp.std.c
mailing list