[Interest] Why QString and not std::string?

Rui Maciel rui.maciel at gmail.com
Fri Jun 15 13:19:27 CEST 2012



On 06/15/2012 11:55 AM, Konstantin Tokarev wrote:
> 1. Historical reasons - STL was not implemented on the same level in all compilers
> in the past.

Is this constraint still relevant today?


> 2. std::string does not hadle UTF16 strings, and std::wstring is non-standard

With C++11, UTF-16 strings are supported through the std::u16string 
type, which is a typedef for basic_string<char16_t>.

Nevertheless, why is it important to support UTF-16?


Rui Maciel



More information about the Interest mailing list