mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-11 15:29:18 +00:00
Added -> operator
This commit is contained in:
@ -190,6 +190,7 @@ public:
|
||||
}
|
||||
|
||||
operator bool() { return this->Load() != 0; }
|
||||
T operator->() { return this->Load(); }
|
||||
T operator++() { return this->FetchAdd(1) + 1; }
|
||||
T operator--() { return this->FetchSub(1) - 1; }
|
||||
T operator++(int) { return this->FetchAdd(1); }
|
||||
|
Reference in New Issue
Block a user