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

(a795b442638f35faab15c1b6d06d268948865f56)

#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

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 104 of file qpromise.h.