Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QScopeGuard< F > Class Template Reference

#include <qscopeguard.h>

+ Collaboration diagram for QScopeGuard< F >:

Public Member Functions

Q_NODISCARD_CTOR QScopeGuard (F &&f) noexcept
 
Q_NODISCARD_CTOR QScopeGuard (const F &f) noexcept
 
Q_NODISCARD_CTOR QScopeGuard (QScopeGuard &&other) noexcept
 
 ~QScopeGuard () noexcept
 
void dismiss () noexcept
 

Detailed Description

template<typename F>
class QScopeGuard< F >

Definition at line 16 of file qscopeguard.h.

Constructor & Destructor Documentation

◆ QScopeGuard() [1/3]

template<typename F >
Q_NODISCARD_CTOR QScopeGuard< F >::QScopeGuard ( F && f)
inlineexplicitnoexcept

Definition at line 20 of file qscopeguard.h.

◆ QScopeGuard() [2/3]

template<typename F >
Q_NODISCARD_CTOR QScopeGuard< F >::QScopeGuard ( const F & f)
inlineexplicitnoexcept

Definition at line 26 of file qscopeguard.h.

◆ QScopeGuard() [3/3]

template<typename F >
Q_NODISCARD_CTOR QScopeGuard< F >::QScopeGuard ( QScopeGuard< F > && other)
inlinenoexcept

Definition at line 32 of file qscopeguard.h.

◆ ~QScopeGuard()

template<typename F >
QScopeGuard< F >::~QScopeGuard ( )
inlinenoexcept

Definition at line 38 of file qscopeguard.h.

Member Function Documentation

◆ dismiss()

template<typename F >
void QScopeGuard< F >::dismiss ( )
inlinenoexcept

Definition at line 44 of file qscopeguard.h.


The documentation for this class was generated from the following file: