Union element alignment query

Stephen Clamage steve at taumet.com
Sun Nov 18 13:15:33 AEST 1990


steve at taumet.com (Stephen Clamage) writes:

>There is also a requirement that given a type T, and the declaration
>	T* t;
>then
>	(T*)(void*)t == t;

I didn't state this very well.  I meant to say:

There is also a requirement that given an object type T, and the declaration
	T* t;
then the relation
	(T*)(void*)t == t
must hold.
-- 

Steve Clamage, TauMetric Corp, steve at taumet.com



More information about the Comp.lang.c mailing list