c++ 容器初始化空问题

当对vector set map 进行类似于vector <int> z=vector<int>(a.begin(),a.begin());时为空。头尾都是某一个位置,为空。不该是1吗?还请谁能解答下

猜你喜欢

转载自www.cnblogs.com/biubiuWham/p/10268710.html