8#include <QtCore/qglobal.h>
21 : m_func(std::move(
f))
33 : m_func(std::move(
other.m_func))
34 , m_invoke(std::exchange(
other.m_invoke,
false))
60[[nodiscard]] QScopeGuard<typename std::decay<F>::type>
qScopeGuard(F &&
f)
62 return QScopeGuard<typename std::decay<F>::type>(std::forward<F>(
f));
Q_NODISCARD_CTOR QScopeGuard(F &&f) noexcept
Q_NODISCARD_CTOR QScopeGuard(const F &f) noexcept
Q_NODISCARD_CTOR QScopeGuard(QScopeGuard &&other) noexcept
Combined button and popup list for selecting options.
QScopeGuard(F(&)()) -> QScopeGuard< F(*)()>
QScopeGuard< typename std::decay< F >::type > qScopeGuard(F &&f)
[qScopeGuard]