int const bar[] = {1, 3, 4};
std::vector<int>foo = bar;
int hage = * foo.begin();
int hoge = foo.at(1);
何がどうエラーだといいたいのだろう……