>>37
int v[] = {0, 1, 2,};
std::vector<int> vec(v, v + sizeof(v) / sizeof(* v));
じゃいかんの?