Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In computer
science, type punning is a common term for any programming technique
that subverts or circumvents the type system of a programming language
in order to achieve an effect that would be difficult or impossible to
achieve within the bounds of the formal language. In C and C++,
constructs such as type conversion, union, and reinterpret_cast are
provided in order to permit many kinds of type punning, although some
kinds are not actually supported by the standard language. In the Pascal
programming language, the use of records with variants may be used to
treat a particular data type in more than one manner, or in a manner not
normally permitted.