temporary object中文,temporary object的意思,temporary object翻译及用法

2025-11-01 20:49 浏览次数 12

temporary object

临时对象

temporary object 例句

英汉例句

  • 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.

    对于类的对象,当指定单一的实参或者为了拷贝明确构建临时对象时,才能使用拷贝初始化。

  • do not create a temporary object in the function.

    不要在函式中建立暂存物件。

  • worse, if your conversion operator returns a temporary object, the side effects will modify the temporary object and be lost forever to the garbage collector.

    更糟糕的是,如果你的转换操作符返回一个临时对象,副作用将会修改这个临时对象,将会永远遗失在垃圾收集器里。

  • the 「closure」 can be viewed as a temporary object that exists in the function scope.

    「闭包」可以被看成是在functionscope中的一个临时对象。

  • this paper introduces an object management system(oms), which provide access method and management function for permanent object and temporary object in software system.

    介绍了一个通用的对象管理系统oms,oms为软件系统中的永久型对象和临时型对象提供存取方法和管理功能。

  • even when the creation of the temporary object is avoided, all the semantic restrictions must be respected as if the temporary object was created.

    也就是说,临时对象的消除导致复制构造函数不被调用,该复制构造函数的访问权限仍然应当满足临时对象存在时的要求。

  • an entire integer object is built to hold the value of (12/11); then a value is pulled out of the temporary object's structure, and used to compute a new temporary object (13-pyint).

    构建一个完整的整数对象以保存 (12/11) 这个值;然后从临时对象的结构中「拉」出一个值并用它计算新的临时对象 (13-pyint) 。

相关热词