4 ms·
While I agree with your overall point, I think that in Qt most of the objects have a reason to exist. E.g. QString, unlike std::string has Unicode support.
by adamnemecek 13y ago
While I agree with your overall point, I think that in Qt most of the objects have a reason to exist. E.g. QString, unlike std::string has Unicode support.
- bcoates 13y agoNormally you'd either just use UTF-8 in a std::string or use std::wstring
- mpyne 13y agostd::string with UTF-8 is not a replacement for QString though. std::wstring is actually closer but then you're still going to have to do tons of conversions, and you still don't reach the feature scope of QString.