vector.erase is not erasing the string in vector it should be erasing

前端 未结 0 1769
情话喂你
情话喂你 2020-12-22 09:28

So, I\'m utilizing the following line to eliminate an element from vector a which is defined before:

a.erase(std::remove(a.begin(),a.end(), maxDigit), a.end()         


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