Hello,
I implemented a smart pointer system which automates AngelScript reference counting in C++, and I'd like to ask for a code review. I want to know if I'm using AngelScript optimally and there aren't any edge cases where the system could break.
The motivation and usage is described in the README: https://github.com/only-a-ptr/RefCountingObject-AngelScript. There is a testbed project which I used to guide the implementation, because I literally learned the AngelScript refcounting on the go and plenty trial and error was involved.