Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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
\headerfile <QPair>
6
\inmodule QtCore
7
\brief Compatibility alias for constructing pair objects.
8
*/
9
10
/*!
11
\typealias QPair
12
\relates <QPair>
13
\since 6.0
14
Alias for std::pair<T1, T2>, where \a T1 and \a T2 are the types of the
15
first and second elements, respectively.
16
*/
17
18
/*!
19
\fn template <class T1, class T2> QPair<T1, T2> qMakePair(T1 &&value1, T2 &&value2)
20
\deprecated
21
\relates <QPair>
22
23
qMakePair forwards its arguments to std::make_pair, and returns
24
the resulting std::pair. It is provided for backwards compatibility.
25
Use std::make_pair directly instead.
26
*/
qtbase
src
corelib
tools
qpair.qdoc
Generated on
for Qt by
1.16.1