Hi, First we clean up the allocation functions for gc memory by removing macros CXX_MEM_STAT_INFo makes useless, and using templates instead of autogenerating code. Then we can add support for finalizers and automatically install finalizers for types that have non trivial destructors.
Trev GIT: [PATCH 1/6] rm a bunch of _stat allocation functions