Difference between QString and std::string
-
Hi, I wanted to know what is the difference between QString and std::string. I understood std::string as char* and QString uses linked list concept to store strings. Is am I right?
-
@QtFranchise said in Difference between QString and std::string:
QString uses linked list
For sure not, would be quite inefficient. Check this: https://code.woboq.org/qt5/include/qt/QtCore/qstringliteral.h.html#QStringData
Take a look at https://wiki.qt.io/QString -
Ok got it, thanks