Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qpromise.h File Reference
#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_NAMESPACE
 

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.

References swap().

+ Here is the call graph for this function: