b
Size: a a a
b
b
СК
Dฅ
СК
Dฅ
СК
b
Dฅ
СК
while(!vec.empty()) {
vec.erase(vec.begin());
}
b
СК
Dฅ
while(!vec.empty()) {
vec.erase(vec.begin());
}
b
Dฅ
Dฅ
Dฅ
СК
for (size_t index = 0; index < hui.size(); index++) {
auto &elem = hui.at(index);
if (elem.hui == cond) {
hui.erase(hui.begin()+index);
index--;
}
}
СК