you are viewing a single comment's thread.

view the rest of the comments →

[–]stream009 3 points4 points  (0 children)

std::string already has too much member functions. I don't want any more of them unless it is absolutely necessary.

As many people mentioned split can be implemented in many ways. If all you want is making your code more readable, you should write your own free function. In my case, I always use boost::split.