Simple C++ garbage collector
This project has met some problems on algorithm. We think we need more study, and we will rebuild this project then.
DendroGC is an improvement over shared_ptr, aiming to more effectively manage memory using garbage collection techniques.
Include the include filter in your project and link share library libDendroGC.
#include <DendroGC>
DendroGC::GC mainGC; //Very important! You should always include this in your code to make sure DendroGC can be running.
int main()
{
return 0;
}
run
make libDendroGC
- std C++ 20 or higher
MIT License.