Summary
Team LiB
Previous Section Next Section

Summary

Lies have short legs (German and Romanian proverb): Don't try to use reinterpret_cast to force the compiler to reinterpret the bits of an object of one type as being the bits of an object of a different type. That's the opposite of maintaining type safety, and reinterpret_cast isn't even guaranteed to do that or anything else in particular.

    Team LiB
    Previous Section Next Section