bool QVector::removeOne(const T & t)
//下面是帮助文档的说明,移除第一个值为t的元素
Removes the first element that compares equal to t from the vector. Returns whether an element was, in fact, removed.
Provided for compatibility with QList.
This function was introduced in Qt 5.4.
QVector移除元素
最新推荐文章于 2024-07-24 13:54:33 发布