Core Library
Classes | Namespaces | Functions
Scoped.hpp File Reference

The Scoped class declaration. More...

#include "BadLogicException.hpp"

Classes

class  Core::Scoped< T >
 A class for temporarily managing the lifetime of resources that require a custom destroy function. More...

Namespaces

namespace  Core
 

The Core Library namespace.


Functions

template<typename T >
T * Core::attachTo (Scoped< T > &guard)
 Helper function to gain access to the internal member so that it can be passed as an output parameter, without overloading the & operator.

Detailed Description

The Scoped class declaration.

Author:
Chris Oldwood