C++STL模板容器(三) //list容器基础成员函数//判断是否为空empty()#include #include using namespace std;int main(){list mylist;mylist.push_back(10, 2);bool empty();if(mylist.empty()){cout}else{empty = myli C && C++ 2023-09-13 46 点赞 0 评论 69 浏览