#include typedef struct test1 { int a; char b; } TOTO; std::vector _v; _v.push_back((TOTO){10, 'a'}); _v[0].a = 101;