go top

move constructor

  • 移动构造函数

网络释义

  移动构造函数

标准库中的vector有一个移动构造函数move constructor),它可以接受一个右值并简单地直接将其转换为目标对象,而不是复制容器中的所有元素来完成对象的创建。

基于63个网页-相关网页

  转移构造函数

2 临时对象和“转移构造函数”(Move Constructor) 在和临时对象斗争了一段时间之后,我们意识到在大多数情况下,完全消除临时对象是不切实际的。大多数时候,关键是消.

基于24个网页-相关网页

  构造函数

} 标准库中的vector有一个移动构造函数(move constructor),它可以接受一个右值并简单地直接将其转换为目标对象,而不是复制容器中的所有元素来完成对象的创建。

基于16个网页-相关网页

  机关函数

标准库中的vector有一个移动机关函数move constructor),它可以担当一个右值并简单地直接将其转换为目标对象,而不是复制容器中的所有元素来完成对象的创建。

基于12个网页-相关网页

双语例句

  • Even though an implementation is allowed to elide the copy, a viable and accessible copy constructor (or move constructor, if we're talking about a move) should still be present.

    虽然实现允许省略拷贝可行的可访问的拷贝构造函数(移动构造函数,如果我们谈论的是一个移动)应该是仍然存在的。

    youdao

  • Move the initialization code for factors to the constructor.

    factors初始化代码构造函数中

    youdao

  • Instead of creating a new window and setting it up, you put the Gtk.Window class into a subclass and move all setup code into a constructor.

    现在不再创建设置窗口,而是Gtk . window放进一个子类,并把所有设置代码移动构造函数

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定