Castor3D 0.16.0
Multiplatform 3D engine
Classes | Namespaces | Functions
BlockGuard.hpp File Reference

Classes

struct  castor::BlockGuard< CleanFunc >
 Allows to declare a scoped variable with an action on construction
and an action on destruction. More...
 

Namespaces

namespace  castor
 

Functions

template<typename InitFunc , typename CleanFunc >
BlockGuard< CleanFunc > castor::makeBlockGuard (InitFunc init, CleanFunc clean)
 Helper function to declare a BlockGuard.
 
template<typename CleanFunc >
BlockGuard< CleanFunc > castor::makeBlockGuard (CleanFunc clean)
 Helper function to declare a BlockGuard.