mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
Added -> operator
This commit is contained in:
parent
f6bd398af7
commit
9b56c49029
@ -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); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user