Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
pointer.h
Go to the documentation of this file.
1#ifndef POINTER_H
2#define POINTER_H
3
4namespace JGadget {
5
6template<class T>
7class TPointer {
8public:
9 TPointer(T* ptr) : mPtr(ptr) {}
10 void set(T* ptr) { mPtr = ptr; }
12};
13
14template<class T>
15class TPointer_delete : public TPointer<T> {
16public:
17 TPointer_delete(T* ptr) : TPointer(ptr) {}
19 delete mPtr;
20 }
21};
22
23}
24
25#endif
Definition pointer.h:15
~TPointer_delete()
Definition pointer.h:18
TPointer_delete(T *ptr)
Definition pointer.h:17
Definition pointer.h:7
TPointer(T *ptr)
Definition pointer.h:9
T * mPtr
Definition pointer.h:11
void set(T *ptr)
Definition pointer.h:10
static const double T[]
Definition k_tan.c:106
Definition std-vector.cpp:14