Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Public Attributes | List of all members
CoreDefer< T > Struct Template Reference

Public Member Functions

 CoreDefer (T defer)
 Store defer so that it will be executed on destruction.
 
 ~CoreDefer (void)
 Destruction.
 

Public Attributes

m_defer
 The deferred code.
 

Detailed Description

template<class T>
struct CoreDefer< T >

Struct that will execute arbitrary code on destruction.

Note
Used by the #CORE_DEFER* macros, avoid using directly unless you know what you're doing.