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.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#ifndef QPAIR_H
5
#define QPAIR_H
6
7
#include <QtCore/qcontainerfwd.h>
8
#include <QtCore/qglobal.h>
9
10
QT_BEGIN_NAMESPACE
11
12
#if 0
13
#pragma qt_class(QPair)
14
#endif
15
16
#ifndef QT_NO_QPAIR
17
18
template
<
typename
T1,
typename
T2>
19
constexpr
decltype
(
auto
)
qMakePair
(T1 &&value1, T2 &&
value2
)
20
noexcept
(
noexcept
(std::make_pair(std::forward<T1>(value1), std::forward<T2>(
value2
))))
21
{
22
return
std::make_pair(std::forward<T1>(value1), std::forward<T2>(
value2
));
23
}
24
25
#endif
// QT_NO_QPAIR
26
27
QT_END_NAMESPACE
28
29
#endif
// QPAIR_H
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
value2
void uint64_t uint64_t uint64_t value2
Definition
qfutex_mac_p.h:46
qMakePair
QT_BEGIN_NAMESPACE constexpr decltype(auto) qMakePair(T1 &&value1, T2 &&value2) noexcept(noexcept(std::make_pair(std::forward< T1 >(value1), std::forward< T2 >(value2))))
Definition
qpair.h:19
qtbase
src
corelib
tools
qpair.h
Generated by
1.10.0