Strict aliasing is an assumption, made by the C or C++ compiler, that de-referencing pointers to objects of different types will never refer to the same memory location (i.e. they will not alias each other).
Consider the following code (p is of type unsigned char* and bitmap->width is of some integer type, exactly …
c++ performance caching optimization strict-aliasingAs far as I understand, GCC supports all of its C99 features in C++. But how is C99 strict aliasing …
c++ c gcc strict-aliasing