cppgc icon indicating copy to clipboard operation
cppgc copied to clipboard

Have a question

Open jeffrycopps opened this issue 8 years ago • 1 comments

Does it overload new/malloc? If not, Can I use this project in a legacy code base with fewer code changes?

jeffrycopps avatar Aug 08 '17 13:08 jeffrycopps

On 08.08.2017 16:02, jeffrycopps wrote:

Does it overload new/malloc?

It requires use of Ref<T> smart pointers instead of normal pointers and garbage collectable classes should have custom new/delete operators and implement mark() method. Please look at the examples.

If not, Can I use this project in a legacy code base with fewer code changes?

Yes, certainly

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/knizhnik/cppgc/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJk-vBi-_mBDlT5V6A2BxaYEzF21I-Jks5sWFxvgaJpZM4Ows1W.

knizhnik avatar Aug 16 '17 11:08 knizhnik