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

Konstantin Tokarev annulen at yandex.ru
Fri Jun 15 12:55:11 CEST 2012



15.06.2012, 14:50, "Rui Maciel" <rui.maciel at gmail.com>:
> Does anyone know what's the rationale for relying on Qt's custom QString
> instead of simply using C++'s standard and omnipresent std::string?

1. Historical reasons - STL was not implemented on the same level in all compilers
in the past.
2. std::string does not hadle UTF16 strings, and std::wstring is non-standard

-- 
Regards,
Konstantin



More information about the Interest mailing list