Obsolete Members for <QPair>

<QPair> 클래스의 다음 멤버들은 더 이상 사용되지 않습니다. 이들은 기존 소스 코드가 계속 작동하도록 하기 위해 제공됩니다. 새로운 코드에서는 이를 사용하지 않는 것을 강력히 권장합니다.

함수

(deprecated in 6.0) decltype(auto) qMakePair(T1 &&value1, T2 &&value2)

함수 문서

[constexpr noexcept(...), deprecated in 6.0] template <typename T1, typename T2> decltype(auto) qMakePair(T1 &&value1, T2 &&value2)

이 함수는 6.0 버전부터 사용 중단되었습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.

qMakePair는 인자를 std::make_pair로 전달하고, 그 결과로 생성된 std::pair를 반환합니다. 이 함수는 하위 호환성을 위해 제공됩니다. 대신 std::make_pair를 직접 사용하십시오.

참고: ` noexcept(std::make_pair(std::forward<T1>(value1), std::forward<T2>(value2))) `가 ` true`일 때이 함수는 `noexcept`입니다.

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