I am reading The C++ Programming Language by Bjarne Stroustrup. It states on unions:
"Unions are occasionally used deliberately to avoid type conversion. One might, for example, use a Fudge to find the representation of the pointer 0:
union Fudge{
int i;
int* p;
};
int main()
{
Fudge foo;
foo.p= 0;
cout<< "the integer value of the pointer 0 is" << foo.i<< ´\n´;
} "
I get that this code fragment gives the representaion of pointer 0. But how is it avoiding type-conversion as mentioned in the text?