<QPair>

用于构造配对对象的兼容性别名。更多

Header: #include <QPair>

类型

(since 6.0) QPair

详细说明

类型文档

[alias, since 6.0] template <typename T1, typename T2> QPair

std::pair<T1, T2> 的别名。

该类型定义在 Qt 6.0 中引入。

© 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.