I\'m defining structs in a loop (stack) and then moving them into a vector. The program compiles and runs but seems to exhibit unexpected behavior. For comparison I can allo