4 ms·
I use it all the time in other languages like Clojure, and now needing to use it in C++ I am finding that lots of people have their own implementations for it l
by hellofunk 11y ago
I use it all the time in other languages like Clojure, and now needing to use it in C++ I am finding that lots of people have their own implementations for it laying around. Just look at all the ad-hoc trim()s on stackoverflow. Ridiculous. Such a basic string feature, yet std can't provide it for reasons unknown.
- coreyp_1 11y agohttp://www.cplusplus.com/forum/general/115700/ http://www.cplusplus.com/forum/general/115700/ 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.