《C++ 移动语义——完整指南》封面

C++ 移动语义——完整指南

C++ Move Semantics - The Complete Guide

Nicolai M. Josuttis · 初版 2020 年

1人推荐
2位读者提及
2次提及

Hacker News 上怎么说

  • ……(也就是说如果它不能 move 某个对象,而且构造函数里没有限制机制的话)——它就会被当成 copy constructor 用,开销非常大。我建议你读一下 Nicolai Josuttis 的《C++ Move Semantics - The Complete Guide》[1],里面极其详尽地讲了 move semantics 的各种技巧和门道。P.S.:对所有 C++ 开发者来说,依拙见,Nicolai Josuttis 写的任何东西都是必读的![1]……

    …(that is if it can't move an object and there is not restriction mechanism in a constructor) - it will be used as a copy constructor which is expensive. I will advice you to read Nicolai Josuttis' " C++ Move Semantics - The Complete Guide" [1] which describes in great detail all the tips and tricks around move semantics. P.S.: For any C++ developer out there, in my humble opinion anything written by Nicolai Josuttis is a must-read! [1]…

  • 包你满意:有人专门写了一本 264 页的书讲 C++ move semantics。https://www.amazon.com/Move-Semantics-Complete-Guide-First/d...

    Gotcha covered: someone wrote a 264-page book about C++ move semantics. https://www.amazon.com/Move-Semantics-Complete-Guide-First/d...

正在加载完整评论……

键盘快捷键

/
聚焦搜索框
j / k
下一本 / 上一本
Enter
打开选中的书
Esc
关闭 / 返回
g h
回到首页
g b
值得读精选
g t
历史总榜
g r
上升最快
g l
我的书架
?
显示本帮助