Clarisse 5.0 SP8 SDK
 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)

Public Attributes

 The deferred code.

Detailed Description

template<class T>
struct CoreDefer< T >

Struct that will execute arbitrary code on destruction.

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