There\'s no way to do something like this, in C++ is there?
union { { Scalar x, y; } Scalar v[2]; };
Where x == v[0]<
x == v[0]<
How about
union { struct { int x; int y; }; int v[2]; };
edit:
union a { struct b { int first, second; } bee; int v[2]; };
Ugly, but that's more accurate