qt中的容器和stl容器有什么区别,如何选择?
1条回答 默认 最新
- qfl_sdu 2021-09-19 22:53关注
qt容器应该是在stl基础上做了封装,差别不大,用法基本一致,函数稍微有点差别。
看一下这里c++ - STL or Qt containers? - Stack Overflow What are the pros and cons of using Qt containers (QMap, QVector, etc.) over their STL equivalent? I can see one reason to prefer Qt: Qt containers can be passed along to other parts of Qt. For e... https://stackoverflow.com/questions/1668259/stl-or-qt-containers本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报