Originally posted by wertigon
View Post
Like, with QString I can just do stuff like
if(string.startsWith("foobar"))
string.trimmed();
string.matches(QRegularExpression("[Ss]ome regexp?");
string.splitRef(",");
etc etc... all of those are a pain to write with std::wstring ; also with QString I can just do QString::{from,to}Utf8() and things JustWork, just like writing to the console JustWorks. Try writing unicode characters to the console in a cross-platform win / mac / linux with just std::.
Leave a comment: