阅读背景:

在不使用“new”的情况下在参数参数中实例化对象

来源:互联网 

If I want to create a new instance of an object within a parameter argument (in C++), is there a way to do this without using "new". It's my understanding that the use of the "new" keyword means I then have to deal with deleting the object (dynamic allocation?).If I want to create a new instance of an object




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: