Hi. I currently have a weird problem with a program segfaulting but im not able to spot the error. I think the problem boils down to this.
struct S {int a; vector<sometype> b;}
S s1;
// fill stuff into a and b
S* s2 = new S();
*s2 = s1;
Could it be that the final copying is illegal in some way? Im really confused right now... Thanks