C++ 成对集合中的错误

C++ 成对集合中的错误,c++,stl,set,C++,Stl,Set,我已宣布以下一套: set< pair<string, pair< int, vector<int> > > SS; setSS; 为什么我会出现以下错误 temp.cpp: In function ‘int main()’: temp.cpp:13:50: error: template argument 1 is invalid set< pair<string, pair< int, vector<int>

我已宣布以下一套:

set< pair<string, pair< int, vector<int> > > SS;
setSS;
为什么我会出现以下错误

temp.cpp: In function ‘int main()’:
temp.cpp:13:50: error: template argument 1 is invalid
     set< pair<string, pair< int, vector<int> > > SS;
                                                  ^
temp.cpp:13:50: error: template argument 2 is invalid
temp.cpp:13:50: error: template argument 3 is invalid
temp.cpp:在函数“int main()”中:
临时cpp:13:50:错误:模板参数1无效
setSS;
^
临时cpp:13:50:错误:模板参数2无效
临时cpp:13:50:错误:模板参数3无效

您缺少一个
。您的代码应该如下所示:

set< pair<string, pair< int, vector<int> > > > SS;
set>SS;
缺少闭合角括号(
)。