![]() |
Springhead
An open source physics engine for virtual reality, haptics and motion generation.
|
一般オブジェクト用,自動delete ポインタ ポインタが消えるときにオブジェクトをdeleteをする. カウンタはついてないので,複数の UTDeleteRef でオブジェクトを 指すことはできない.
#include <BaseUtility.h>
Public メソッド | |
| UTDeleteRef (T *t=NULL) | |
| UTDeleteRef & | operator= (T *t) |
| operator T * () const | |
| T * | operator-> () const |
| bool | operator< (const UTDeleteRef &r) const |