Good C++ string manipulation library

后端 未结 7 866
梦谈多话
梦谈多话 2021-01-30 01:05

I\'m sorry for flaming std::string and std::wstring. They are quite limited and far from being thread safe. Performance wise, they are not that good too. I miss simple features

7条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-30 01:46

    I highly recommend to use ICU's UnicodeString, as it support all common string manipulation functions, as well as i18n support.

    Don't know what ICU is? Here is an extract from Wikipedia:

    International Components for Unicode (ICU) is an open source project of mature C/C++ and Java libraries for Unicode support, software internationalization, and software globalization. ICU is widely portable to many operating systems and environments. It gives applications the same results on all platforms and between C, C++, and Java software. The ICU project is sponsored, supported, and used by IBM and many other companies.

提交回复
热议问题