QBaseIterator Class

template <typename Container> class QBaseIterator
头文件: #include <QBaseIterator>
CMake: find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core
继承于

QConstIteratorQIterator

公共函数

const void *constIterator() const
void *mutableIterator()

详细说明

QBaseIterator 是在QIterable 子类上运行的所有迭代器的通用基类。

成员函数文档

const void *QBaseIterator::constIterator() const

返回指向内部本地迭代器的常量指针。

void *QBaseIterator::mutableIterator()

返回指向内部本地迭代器的非常量指针。

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.