2 ms·
I can understand banning it. It’s important to understand std::string is more of a string builder implementation, which is rarely what you want, but people trea
by cmovq 2y ago
I can understand banning it. It’s important to understand std::string is more of a string builder implementation, which is rarely what you want, but people treat it as the default way to handle strings in C++.
Too often I have to fix code that makes liberal use of std::string, making copies and allocations everywhere for no apparent reason, when string_view or better const char* would do.