const int Val = 43; // 実際には適当な値
vector<int[Val]> hoge;
int huga[Val];
/*fugaの初期化処理*/
hoge.push_back(fuga);
c:\program files (x86)\microsoft visual studio 10.0\vc\include\xmemory(208): error C2075: 'Target of operator new()' : 配列の初期化には中かっこ ({}) が必要です。
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\xmemory(280) : コンパイルされたクラスの テンプレート のインスタンス化 'void std::allocator<_Ty>::construct<int(&)[43]>(int (*)[43],_Other)' の参照を確認してください
1> with
1> [
1> _Ty=int [43],
1> _Other=int (&)[43]
1> ]
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\vector(985) : コンパイルされたクラスの テンプレート のインスタンス化 'void std::_Cons_val<std::allocator<_Ty>,int[43],int(&)[43]>(_Alloc &,_Ty1 (*),_Ty2)' の参照を確認してください
1> with
1> [
1> _Ty=int [43],
1> _Alloc=std::allocator<int [43]>,
1> _Ty1=int [43],
1> _Ty2=int (&)[43]
1> ]
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\vector(976): クラス テンプレート のメンバー関数 'void std::vector<_Ty>::push_back(const _Ty (&))' のコンパイル中
1> with
1> [
1> _Ty=int [43]
1> ]
1> c:\users\(username)\documents\visual studio 2010\projects\(projectname)\(projectname)\_source\_header\dataimport.h(10) : コンパイルされたクラスの テンプレート のインスタンス化 'std::vector<_Ty>' の参照を確認してください
1> with
1> [
1> _Ty=int [43]
1> ]
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\xmemory(208): fatal error C1903: 直前のエラーを修復できません。コンパイルを中止します。
一応発生箇所は、5行目のhoge.push_back(fuga);であることは理解しています。
どなたか対処法が分かる方がおられましたら教えていただけると助かります、よろしくお願いいたします。