This commit is contained in:
2024-01-30 18:06:16 -08:00
parent 4a4116da45
commit 174ae36894
5 changed files with 73 additions and 7 deletions

View File

@@ -8,9 +8,12 @@
namespace ehs
{
typedef bool (*GcLogic)(BaseObj*);
class GarbageCollector
{
private:
static Vector<GcLogic>* logic;
static Vector<BaseObj*> garbage;
static UInt_64 max;
static Thread thread;

View File

@@ -19,13 +19,13 @@ namespace ehs
explicit Type(const Char_8* id);
Type(Type&& type) noexcept = default;
Type(Type&& type) noexcept;
Type(const Type& type) = default;
Type(const Type& type);
Type& operator=(Type&& type) noexcept = default;
Type& operator=(Type&& type) noexcept;
Type& operator=(const Type& type) = default;
Type& operator=(const Type& type);
bool operator==(const Type& type) const;