Why UClass have a ClassConstructor variable？
I'm reading the source code of UClass then I found a ClassConstructor variable which point to a static function:
In this function, it just called the constructor function of current class's object with a FObjectInitializer. I understand how it work, but why? Why they need to use this work? I mean if we directly use placement new operator ?
asked Oct 26 '16 at 03:36 AM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here