Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qpair.qdoc
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4/*!
5 \typealias QPair
6 \relates QPair
7 \since 6.0
8 Typedef for std::pair<T1, T2>.
9*/
10
11/*!
12 \fn template <class T1, class T2> QPair<T1, T2> qMakePair(T1 &&value1, T2 &&value2)
13 \deprecated
14 \relates QPair
15
16 qMakePair forwards its arguments to std::make_pair, and returns
17 the resulting std::pair. It is provided for backwards compatibility.
18 Use std::make_pair directly instead.
19*/