Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions
caffe2::ScopeGuardImpl< FunctionType > Class Template Reference
Inheritance diagram for caffe2::ScopeGuardImpl< FunctionType >:
caffe2::ScopeGuardImplBase

Public Member Functions

 ScopeGuardImpl (FunctionType &fn) noexcept(std::is_nothrow_copy_constructible< FunctionType >::value)
 
 ScopeGuardImpl (const FunctionType &fn) noexcept(std::is_nothrow_copy_constructible< FunctionType >::value)
 
 ScopeGuardImpl (FunctionType &&fn) noexcept(std::is_nothrow_move_constructible< FunctionType >::value)
 
 ScopeGuardImpl (ScopeGuardImpl &&other) noexcept(std::is_nothrow_move_constructible< FunctionType >::value)
 
- Public Member Functions inherited from caffe2::ScopeGuardImplBase
void dismiss () noexcept
 

Additional Inherited Members

- Static Protected Member Functions inherited from caffe2::ScopeGuardImplBase
static ScopeGuardImplBase makeEmptyScopeGuard () noexcept
 
template<typename T >
static const T & asConst (const T &t) noexcept
 
- Protected Attributes inherited from caffe2::ScopeGuardImplBase
bool dismissed_
 

Detailed Description

template<typename FunctionType>
class caffe2::ScopeGuardImpl< FunctionType >

Definition at line 81 of file scope_guard.h.


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