Revision control
Copy as Markdown
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*!
\headerfile <QPair>
\inmodule QtCore
\brief Compatibility alias for constructing pair objects.
*/
/*!
\typealias QPair
\relates <QPair>
\since 6.0
Alias for std::pair\<T1, T2\>, where \a T1 and \a T2 are the types of the
first and second elements, respectively.
*/
/*!
\fn template <class T1, class T2> QPair<T1, T2> qMakePair(T1 &&value1, T2 &&value2)
\deprecated [6.0]
\relates <QPair>
qMakePair forwards its arguments to std::make_pair, and returns
the resulting std::pair. It is provided for backwards compatibility.
Use std::make_pair directly instead.
*/