44 #include <QtCore/qglobal.h>
46 #include <type_traits>
56 : m_func(std::move(
f))
66 : m_func(std::move(
other.m_func))
67 , m_invoke(qExchange(
other.m_invoke,
false))
QScopeGuard(const F &f) noexcept
QScopeGuard(F &&f) noexcept
QScopeGuard(QScopeGuard &&other) noexcept
#define Q_DISABLE_COPY(Class)
QScopeGuard(F(&)()) -> QScopeGuard< F(*)()>
QScopeGuard< typename std::decay< F >::type > qScopeGuard(F &&f)
[qScopeGuard]