(03baf08d2bb99bf234d5e051691a57937fa935d7)
#include <QtCore/qtconfigmacros.h>
#include <QtCore/qtdeprecationmarkers.h>
#include <type_traits>
#include <utility>
Go to the source code of this file.
|
template<typename Enum > |
QT_BEGIN_NAMESPACE constexpr std::underlying_type_t< Enum > | qToUnderlying (Enum e) noexcept |
|
template<typename T , typename U = T> |
constexpr T | qExchange (T &t, U &&newValue) noexcept(std::conjunction_v< std::is_nothrow_move_constructible< T >, std::is_nothrow_assignable< T &, U > >) |
|
◆ qExchange()
template<typename T , typename U = T>
constexpr T qExchange |
( |
T & | t, |
|
|
U && | newValue ) |
|
constexprnoexcept |
◆ qToUnderlying()
Definition at line 22 of file qttypetraits.h.
Referenced by QTimerInfoList::activateTimers(), HeaderName::asByteArray(), HeaderName::asView(), QPalettePrivate::colorRoleOffset(), Qt::compareThreeWay(), QObject::killTimer(), QPartialOrdering::operator Qt::partial_ordering(), operator|(), operator|(), operator|(), qHash(), qRotatedFrameSize(), qt_toPremultipliedFormat(), qt_toUnpremultipliedFormat(), QAbstractEventDispatcher::registerTimer(), QCocoaEventDispatcher::registerTimer(), QEventDispatcherGlib::registerTimer(), QEventDispatcherUNIX::registerTimer(), QEventDispatcherWasm::registerTimer(), QAbstractEventDispatcherPrivate::releaseTimerId(), QCocoaEventDispatcher::remainingTime(), QEventDispatcherGlib::remainingTime(), QTimer::timerId(), QCocoaEventDispatcher::unregisterTimer(), QEventDispatcherGlib::unregisterTimer(), QEventDispatcherUNIX::unregisterTimer(), QEventDispatcherWasm::unregisterTimer(), and QHttpHeaders::wellKnownHeaderName().