Using Lint, he repeatedly tries to use clear in the std line and wants to suggest using the erase method without parameters.
Looking at the documentation as with what to do, and how to resize the string to zero elements so that the string is empty, without elements. I do not want to delete a row at this moment, just remove all participants from it.
My question is what is the difference between the two methods, and does anyone know the reason why I SHOULD use clear erase?
source
share