首页
社区
课程
招聘
[转帖]C++ Move Semantics - The Complete Guide
2020-12-30 04:02 3316

[转帖]C++ Move Semantics - The Complete Guide

2020-12-30 04:02
3316

C++ Move Semantics - The Complete Guide

Author: Nicolai M. Josuttis

ISBN: 978-3967309003

Published: December 2020

Pages: 260

Format: True PDF


Move semantics, introduced with C++11, has become a hallmark of modern C++ programming. However, it also complicates the language in many ways. After several years of support of move semantics experienced programmers struggle with all the details of move semantics. Even for trivial classes, style guides give conflicting or inappropriate advice on how to benefit from move semantics. Time to explain all aspects of C++ move semantics in detail.

This book teaches C++ move semantics. Starting from the basic principles, it motivates and explains all the corner cases of move semantics so that as a programmer, you can use move semantics correctly. The book is valuable for those who are just starting to learn about move semantics and is essential for those who are using it already.


You will learn:

The motivation for and terminology of move semantics

How and why you benefit implicitly from move semantics

How to benefit explicitly from move semantics

All the traps involved in move semantics and how to deal with them

All the consequences of move semantics for your programming style

As usual for books by Nicolai Josuttis, the focus lies on the application of the described features in practice. Compelling examples and useful background information help to understand and improve code, from trivial classes up to generic foundation libraries and frameworks.

https://mir.cr/60MKSUDH



[CTF入门培训]顶尖高校博士及硕士团队亲授《30小时教你玩转CTF》,视频+靶场+题目!助力进入CTF世界

收藏
点赞1
打赏
分享
最新回复 (6)
雪    币: 2011
活跃值: (8355)
能力值: ( LV2,RANK:15 )
在线值:
发帖
回帖
粉丝
2DCoXrq 2020-12-30 07:39
2
0

本地存档

上传的附件:
雪    币: 85309
活跃值: (198610)
能力值: (RANK:10 )
在线值:
发帖
回帖
粉丝
linhanshi 2020-12-30 07:48
3
0
FleTime 本地存档
雪    币: 191
活跃值: (207)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
共X党头子 2020-12-30 12:28
4
0
雪    币: 597
活跃值: (940)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
idigger 2020-12-31 01:37
5
0
感谢
雪    币: 105
活跃值: (242)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
dddjjji 2020-12-31 04:17
6
0
奥利给!感谢分享!
雪    币: 878
活跃值: (496)
能力值: ( LV3,RANK:20 )
在线值:
发帖
回帖
粉丝
Rprop 2020-12-31 13:04
7
0
移动语义、右值引用等设计属实优雅,规避拷贝构造,提高对象传递性能
游客
登录 | 注册 方可回帖
返回