2 points · by hellofunk · 10y ago · 3 comments
(Serious answer: I have no idea, and despite having written a lot of C++ over the years, I've actually never needed to use a trim(), so I never noticed that it was missing! I learned something new in the middle of my insomnia!)
Here is a good "explanation" as to why, and I suppose it's as good as any other. The forum post does recommend using boost, though, which is a common c++ staple.