# bm::ptr_guard< T > Class Template Reference

Mini auto-pointer for internal memory management. More...

`#include <bmutil.h>`

## Public Member Functions

| ptr_guard (T *p)
| ~ptr_guard ()

## Detailed Description

### template<class T>
class bm::ptr_guard< T >

Mini auto-pointer for internal memory management.

Definition at line 105 of file bmutil.h.

## Constructor & Destructor Documentation

template<class T>

bm::ptr_guard< T >::ptr_guard | ( | T * | p | ) | `[inline]`

Definition at line 108 of file bmutil.h.

template<class T>

bm::ptr_guard< T >::~ptr_guard | ( |  | ) | `[inline]`

Definition at line 109 of file bmutil.h.

The documentation for this class was generated from the following file:

- bmutil.h