然后调用new来实例化该模板,创建一个新对象。
Then, you call new to instantiate that template, creating a new object.
如果在会话中找不到对象,它就创建一个新对象。
If it cannot find the object in the session it creates a new one.
要创建一个新对象(这里是将返回的字符串),首先分配对象,然后初始化对象。
To create a new object (in this case, the string that will be returned), first alloc the object and then initialize it.
应用推荐