Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
A lot of big projects don't use std::string. For the kind of stuff C++ is used for, other data structures (eg. ropes) are much better.
-
@iiii as such, nothing for basic string stuff. C++ doesn't even need a StringBuilder like Java does because strings are mutable and and std::stringstream is awesome. But "for the kind of stuff C++ is used for" often means applications that need higher performance than ye olde std::string or otherwise some sort of special string handling, so something like https://en.m.wikipedia.org/wiki/... is pretty commonly implemented.
f**k the ones who say, "C++ is poor in string manipulation"
rant