TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Public Member Functions | Private Attributes | List of all members
_ScopeGuard< Function > Class Template Reference

The class of the ttk defer module. More...

#include <ttkdefer.h>

Public Member Functions

 _ScopeGuard (Function &&f)
 
 _ScopeGuard (_ScopeGuard &&rhs)
 
 ~_ScopeGuard ()
 

Private Attributes

Function m_fun
 

Detailed Description

template<typename Function>
class _ScopeGuard< Function >

The class of the ttk defer module.

Author
Greedysky greed.nosp@m.ysky.nosp@m.@163..nosp@m.com

Definition at line 29 of file ttkdefer.h.

Constructor & Destructor Documentation

template<typename Function >
_ScopeGuard< Function >::_ScopeGuard ( Function &&  f)
inline

Object constructor.

Definition at line 35 of file ttkdefer.h.

template<typename Function >
_ScopeGuard< Function >::_ScopeGuard ( _ScopeGuard< Function > &&  rhs)
inline

Definition at line 41 of file ttkdefer.h.

template<typename Function >
_ScopeGuard< Function >::~_ScopeGuard ( )
inline

Object destructor.

Definition at line 50 of file ttkdefer.h.

References _ScopeGuard< Function >::m_fun.

Member Data Documentation

template<typename Function >
Function _ScopeGuard< Function >::m_fun
private

Definition at line 61 of file ttkdefer.h.

Referenced by _ScopeGuard< Function >::~_ScopeGuard().


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