std::vectorとstd::arrayの違い tappe 9か月前 arrayは宣言時にサイズの指定が必須。 その代わり、vectorより速い。 速度にこだわらないならvectorでいいと思われる。