Why is joining two vectors simply not working?
- by Jim
I have two vectors of MyObj structs. MyObj is defined as follows:
struct MyObj
{
float x, y;
unsigned int data[8];
unsigned int tmp[1];
MyObj(const MyObj &m)
{
x = m.x; y = m.y;
tmp[0] = 0;
for (int i = 0; i < 8; ++i)
{
data[i] = m.data[i];
}
}
};
I then have two vectors...
…