如果'Test'是一个普通的类,那么之间有什么区别:
Test* test = new Test;
和
Test* test = new Test();
c++ constructor initialization c++-faq new-operator
c++ ×1
c++-faq ×1
constructor ×1
initialization ×1
new-operator ×1