Obsolete Members for <QPair>
<QPair> 클래스의 다음 멤버는 더 이상 사용되지 않습니다. 이들은 이전 소스 코드의 작동을 유지하기 위해 제공됩니다. 새 코드에서는 사용하지 않는 것이 좋습니다.
함수
(deprecated) decltype(auto) | qMakePair(T1 &&value1, T2 &&value2) |
함수 문서
[constexpr noexcept(...), deprecated]
template <typename T1, typename T2> decltype(auto) qMakePair(T1 &&value1, T2 &&value2)
이 함수는 더 이상 사용되지 않습니다. 새 코드에 사용하지 않는 것이 좋습니다.
qMakePair는 인자를 std::make_pair로 전달하고 결과 std::pair를 반환합니다. 이전 버전과의 호환성을 위해 제공됩니다. 대신 std::make_pair를 직접 사용하세요.
참고: 이 함수는 noexcept(std::make_pair(std::forward<T1>(value1), std::forward<T2>(value2)))
가 true
일 때를 제외하고는 작동하지 않습니다.
© 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.