[Mono-list] typeof and sizeof pointer types

Alan Jenkins sourcejedi@phonecoop.coop
Sun, 25 Jul 2004 20:14:20 +0000


typeof (float) =3D=3D typeof (float*)
sizeof (float) =3D=3D sizeof (float*)

Is this really the correct behaviour?  I can see there are problems with=20
unique types for pointers, because there is an infinite number - float,=20
float*, float**, etc - but I would have thought it would be important to =
get=20
sizeof right.

Alan