c++ vector<int,int>
时间: 2023-10-22 20:03:37 浏览: 84
在提供的引用内容中,并没有提到"vector<int,int>"这样的数据类型。根据C++的语法规则,vector模板中的第二个参数应该是一个分配器类型,而不是一个整数值。因此,"vector<int,int>"这样的语法是不正确的。请您确认一下是否有其他相关的引用内容提供更多的信息。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [C++STL vector容器总结](https://blog.csdn.net/qq_42642142/article/details/109401118)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [C++STL: vector<int>(n) 和 vector<int>[n]及其他初始化方法比较](https://blog.csdn.net/OrdinaryMatthew/article/details/115084924)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文