list remove « List « C++






1.Remove all elements with the same value
2.Good way and bad way to remove elements in a list