Is using erase(it) in a loop always safe for all containers and platforms?

后端 未结 0 1476
你的背包
你的背包 2021-01-23 23:30

i want to remove elements within a container(for now it is unordered_set) by certain condition

for (auto it = windows.begin(); it != windows.end(); )         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题