c++ - How operator new calls the constructor of class? - Stack Overflow
經安全檢測,此網站為安全網站,請放心前往原始網址!
c++ - How operator new calls the constructor of class? - Stack Overflow
It's not really the new operator that calls the constructor. It is more the compiler
that translate the following line: MyClass * mine = new MyClass();.