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
qpromise.h File Reference

(2f95cd8f8b3a4d2216916fc55f15df5c901648f4)

#include <QtCore/qglobal.h>
#include <QtCore/qfutureinterface.h>
#include <utility>
+ Include dependency graph for qpromise.h:

Go to the source code of this file.

Classes

class  QPromise< T >
 

Namespaces

namespace  QtPrivate
 \macro QT_NO_KEYWORDS >
 

Typedefs

template<class T , class U >
using QtPrivate::EnableIfSameOrConvertible = std::enable_if_t<std::is_convertible_v<T, U>>
 

Functions

 QT_REQUIRE_CONFIG (future)
 
template<typename T >
void swap (QPromise< T > &a, QPromise< T > &b) noexcept
 

Function Documentation

◆ QT_REQUIRE_CONFIG()

QT_REQUIRE_CONFIG ( future )

◆ swap()

template<typename T >
void swap ( QPromise< T > & a,
QPromise< T > & b )
inlinenoexcept

Definition at line 103 of file qpromise.h.