Cogs.Foundation
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
Pointer.h File Reference
#include <memory>
#include <new>

Go to the source code of this file.

Classes

struct  Cogs::Pointer< T >
 Provides scoped storage for a raw pointer and corresponding deletion logic. More...
 

Namespaces

namespace  Cogs
 Main Cogs namespace.
 

Functions

template<typename T , typename DeleterFunction >
Pointer< T > Cogs::makePointer (T *t, DeleterFunction deleterFunc)
 Construct a Pointer<T> instance from the given pointer and deleter function.