Hacker News new | ask | show | jobs
by nly 4035 days ago
- std::string is old. It predates the rest of the STL, and had an index interface prior to the iterator based one. The old API was left in for compatibility and imposes no runtime overhead

- It has all the string manipulation capability of the C standard library

- Being encoding unaware was probably a blessing given how unicode has evolved since std::string was introduced (20-30 years ago?)