Hello,

I'm sorry for the disruption, yet I've encountered a query while delving into 
the Qt container source code. Specifically, I'm curious as to why Qt 6 employs 
std::map for QMap, but opts not to use std::vector for QList and QVector.

Given that the Qt team has chosen std::map as the foundational implementation 
for QMap, I wonder why an analogous approach wasn't taken for QList and 
QVector. Why not simply rework them as straightforward wrapper layers atop 
std::vector, in a manner similar to how std::map serves as the basis for QMap?

Your insights to clarify my doubts would be greatly appreciated.

Best regards, xcy
_______________________________________________
Interest mailing list
[email protected]
https://lists.qt-project.org/listinfo/interest

Reply via email to