C++ Move Semantics - The Complete Guide (Paperback)
Nicolai M. Josuttis
- 出版商: NicoJosuttis
- 出版日期: 2020-08-30
- 售價: $1,200
- 貴賓價: 9.8 折 $1,176
- 語言: 英文
- 頁數: 262
- 裝訂: Paperback
- ISBN: 3967309002
- ISBN-13: 9783967309003
-
相關分類:
C++ 程式語言
無法訂購
買這商品的人也買了...
-
$1,188Fedora 11 and Red Hat Enterprise Linux Bible (Paperback)
-
$800$680 -
$2,350$2,233 -
$360$281 -
$980$774 -
$199致命Bug 軟件缺陷的災難與啟示
-
$505Linux 防火牆, 4/e (Linux Firewalls: Enhancing Security with nftables and Beyond, 4/e)
-
$500$390 -
$720$562 -
$1,200$1,020 -
$594$564 -
$1,020$969 -
$1,120$1,064 -
$580$458 -
$450$356 -
$350$315 -
$1,663Beautiful C++: 30 Core Guidelines for Writing Clean, Safe, and Fast Code (Paperback)
-
$1,488Modern CMake for C++: Discover a better approach to building, testing, and packaging your software (Paperback)
-
$1,910$1,815 -
$880$695 -
$2,980$2,831 -
$779$740 -
$2,070Modern System Administration: Managing Reliable and Sustainable Systems (Paperback)
-
$780$608 -
$600$468
相關主題
商品描述
All aspects of C++ Move Semantics.
Move semantics, introduced with C++11, has become a hallmark of modern C++ programming. However, it also complicates the language in many ways. Even after several years of support of move semantics experienced programmers struggle with all the details of move semantics. And style guides still don't recommend the right consequences for programming even of trivial classes. 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 you as a programmer can use move semantics right. The book is valuable for those that are beginning to learn about move semantics and is essential for those that are using it already.
You will learn:
- Motivation and terminology of move semantics
- How and why you implicitly benefit from move semantics
- How to explicitly benefit from move semantics
- All traps and how to deal with them
- All consequences for your programming style
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.
"I thought I understood move semantics but I didn't really! I learned a lot in your book."
(Jonathan Boccara)
"This is the book I’ve needed for a long time."
(Rob Bernstein)
"Sometimes I think I have a better grasp on entanglement & quantum teleportation than I do in some weird C++ move semantics. To paraphrase Feynman: If you think you understand C++ move semantics, you don't understand C++ move semantics. Read this book."
商品描述(中文翻譯)
C++移動語義的所有方面。
移動語義是C++11引入的,已成為現代C++編程的標誌。然而,它也使語言變得更加複雜。即使經驗豐富的程序員在支持移動語義多年後仍然難以理解所有移動語義的細節。而且,風格指南仍然不建議在編程中使用移動語義的正確後果,即使是對於簡單的類也是如此。現在是詳細解釋C++移動語義的時候了。
本書教授C++移動語義。從基本原則開始,它激發並解釋了移動語義的所有邊緣情況,以便您作為程序員能夠正確使用移動語義。本書對於那些剛開始學習移動語義的人非常有價值,對於那些已經在使用移動語義的人來說則是必不可少的。
您將學到:
- 移動語義的動機和術語
- 您如何隱式地從移動語義中受益
- 如何明確地從移動語義中受益
- 所有陷阱以及如何應對它們
- 對您的編程風格的所有後果
重點在於實際應用所描述的功能。引人入勝的例子和有用的背景信息有助於理解和改進從簡單類到通用基礎庫和框架的代碼。
「我以為我理解了移動語義,但實際上並沒有!我在你的書中學到了很多。」
(Jonathan Boccara)
「這是我長期以來一直需要的書。」
(Rob Bernstein)
「有時候我覺得我對納米線和量子傳輸比對奇怪的C++移動語義更有把握。引用費曼的話:如果你認為你理解了C++移動語義,那你就不理解C++移動語義。讀這本書吧。」