You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return x == other.x && y == other.y && z == other.z;
}
};
This code seems to think that accessing x, y, z and raw interchangeably is defined behaviour. It is undefined behaviour to access a member of a union that was not the most recently set.
NorthstarLauncher/NorthstarDLL/core/math/vector.h
Lines 5 to 28 in 210dab2
This code seems to think that accessing
x, y, z
andraw
interchangeably is defined behaviour. It is undefined behaviour to access a member of a union that was not the most recently set.https://eel.is/c++draft/class.union#general-2
https://eel.is/c++draft/class.mem#general-23
The text was updated successfully, but these errors were encountered: