mirror of
https://git.neolegacy.dev/Elysium/Project-Elysium.git
synced 2026-08-09 15:41:22 +00:00
10 lines
143 B
C++
10 lines
143 B
C++
#pragma once
|
|
|
|
template<class T> class Reference
|
|
{
|
|
private:
|
|
T *obj;
|
|
public:
|
|
T *get() { return obj; }
|
|
Reference(T *i) { obj = i; }
|
|
}; |