std::array::iterator theI;//イテレータを取得 theI = arr.begin();//begin()は配列の先頭を指すポインタを返す //ここまでをauto推論を使って auto itr = arr.begin(); //と書くことができる