FinallyWrapper< T > Class Template Reference

#include <finally.h>

Public Member Functions

 FinallyWrapper (FinallyWrapper &&src)
 
MAXON_IMPLICIT FinallyWrapper (T &&x)
 
 ~FinallyWrapper ()
 
 MAXON_OPERATOR_MOVE_ASSIGNMENT (FinallyWrapper)
 

Private Member Functions

 MAXON_DISALLOW_COPY_AND_ASSIGN (FinallyWrapper)
 

Private Attributes

_lambda
 

Constructor & Destructor Documentation

◆ FinallyWrapper() [1/2]

FinallyWrapper ( FinallyWrapper< T > &&  src)

◆ FinallyWrapper() [2/2]

◆ ~FinallyWrapper()

Member Function Documentation

◆ MAXON_DISALLOW_COPY_AND_ASSIGN()

MAXON_DISALLOW_COPY_AND_ASSIGN ( FinallyWrapper< T >  )
private

◆ MAXON_OPERATOR_MOVE_ASSIGNMENT()

MAXON_OPERATOR_MOVE_ASSIGNMENT ( FinallyWrapper< T >  )

Member Data Documentation

◆ _lambda

T _lambda
private