Caching and pooling can be helpful techniques to reduce temporary object creation.
缓存和对象池技术均可以减少临时对象的创建。
The "closure" can be viewed as a temporary object that exists in the function scope.
“闭包”可以被看成是在function scope中的一个临时对象。
For objects of class type, copy-initialization can be used only when specifying a single argument or when we explicitly build a temporary object to copy.
对于类的对象,当指定单一的实参或者为了拷贝明确构建临时对象时,才能使用拷贝初始化。
应用推荐