Counter.hpp
Go to the documentation of this file.
Remove only the Counter (data already removed)
int64_t incrementShared(bool _fromWeak=false)
Increment the shared counter (one more shared user)
int64_t incrementWeak()
Increment the weak counter (one more weak user)
Remove only the data.
Noting to remove.
Couter is an important part of the SharedPtr/WeakPtr implementation. This use a simple refcounting me...
Definition: Counter.hpp:18
ememory::Counter::remove decrementWeak()
Decrese of 1 the weak counter.
ememory::Counter::remove decrementShared()
Decrese of 1 the shared counter.
remove
Remove case of the counter. When decrese the shared our weak counter, it is the upper class that need...
Definition: Counter.hpp:23
Remove Data and Counter.