Mastering the C++17 STL (Paperback)
暫譯: 精通 C++17 STL (平裝本)
Arthur O'Dwyer
- 出版商: Packt Publishing
- 出版日期: 2017-09-28
- 售價: $2,000
- 貴賓價: 9.5 折 $1,900
- 語言: 英文
- 頁數: 384
- 裝訂: Paperback
- ISBN: 178712682X
- ISBN-13: 9781787126824
-
相關分類:
C++ 程式語言
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$2,200$2,090 -
$980$399 -
$1,4883D Game Engine Programming
-
$1,600$1,520 -
$2,100$1,995 -
$2,993The C++ Standard Library: A Tutorial and Reference, 2/e (Hardcover)
-
$2,370$2,252 -
$480$379 -
$709奔跑吧 Linux 內核 (捲1):基礎架構, 2/e
-
$594$564 -
$580$458
相關主題
商品描述
Key Features
- Boost your productivity as a C++ developer with the latest features of C++17
- Develop high-quality, fast, and portable applications with the varied features of the STL
- Migrate from older versions (C++11, C++14) to C++17
Book Description
Modern C++ has come a long way since 2011. The latest update, C++17, has just been ratified and several implementations are on the way.
This book is your guide to the C++ standard library, including the very latest C++17 features.
The book starts by exploring the C++ Standard Template Library in depth. You will learn the key differences between classical polymorphism and generic programming, the foundation of the STL. You will also learn how to use the various algorithms and containers in the STL to suit your programming needs. The next module delves into the tools of modern C++. Here you will learn about algebraic types such as std::optional, vocabulary types such as std::function, smart pointers, and synchronization primitives such as std::atomic and std::mutex. In the final module, you will learn about C++'s support for regular expressions and file I/O.
By the end of the book you will be proficient in using the C++17 standard library to implement real programs, and you'll have gained a solid understanding of the library's own internals.
What you will learn
- Make your own iterator types, allocators, and thread pools.
- Master every standard container and every standard algorithm.
- Improve your code by replacing new/delete with smart pointers.
- Understand the difference between monomorphic algorithms, polymorphic algorithms, and generic algorithms.
- Learn the meaning and applications of vocabulary type, product type and sum type.
About the Author
Arthur O'Dwyer has used modern C++ in his day job for about ten years--since the days when "modern C++" meant "classic C++." Between 2006 and 2011 he worked on the Green Hills C++ compiler. Since 2014 he has organized a weekly C++ meetup in the San Francisco Bay Area, and he speaks regularly on topics such as those to be found in this book. Later this year, he will attend an ISO C++ committee meeting for the second time.
This is his first book.
Table of Contents
- Classical Polymorphism versus Generic Programming
- Iterators and Ranges
- The Iterator-Pair Algorithms
- The Container Zoo
- Vocabulary Types
- Smart Pointers
- Concurrency
- Allocators
- Iostreams
- Regular Expressions
- Random numbers
- Filesystem
商品描述(中文翻譯)
#### 主要特點
- 利用 C++17 的最新功能提升您的 C++ 開發者生產力
- 使用 STL 的多樣功能開發高品質、快速且可攜帶的應用程式
- 從舊版本 (C++11, C++14) 遷移到 C++17
#### 書籍描述
自 2011 年以來,現代 C++ 已經取得了長足的進步。最新的更新 C++17 剛剛被通過,幾個實作也在進行中。
本書是您了解 C++ 標準庫的指南,包括最新的 C++17 特性。
本書首先深入探討 C++ 標準模板庫 (STL)。您將學習經典多型 (classical polymorphism) 與泛型程式設計 (generic programming) 之間的關鍵差異,這是 STL 的基礎。您還將學習如何使用 STL 中的各種演算法和容器來滿足您的程式設計需求。接下來的模組將深入現代 C++ 的工具。在這裡,您將了解代數類型 (algebraic types) 如 std::optional、詞彙類型 (vocabulary types) 如 std::function、智慧指標 (smart pointers) 以及同步原語 (synchronization primitives) 如 std::atomic 和 std::mutex。在最後一個模組中,您將學習 C++ 對正則表達式 (regular expressions) 和檔案 I/O 的支援。
到書籍結束時,您將熟練使用 C++17 標準庫來實作真實的程式,並對庫的內部運作有堅實的理解。
#### 您將學到的內容
- 自行製作迭代器類型、配置器 (allocators) 和執行緒池 (thread pools)。
- 精通每個標準容器和每個標準演算法。
- 通過用智慧指標取代 new/delete 來改善您的程式碼。
- 理解單型演算法 (monomorphic algorithms)、多型演算法 (polymorphic algorithms) 和泛型演算法 (generic algorithms) 之間的差異。
- 學習詞彙類型 (vocabulary type)、乘積類型 (product type) 和和類型 (sum type) 的含義及應用。
#### 關於作者
**Arthur O'Dwyer** 在他的日常工作中使用現代 C++ 約十年——自從「現代 C++」意味著「經典 C++」的時候。2006 年至 2011 年間,他在 Green Hills C++ 編譯器上工作。自 2014 年以來,他在舊金山灣區組織每週的 C++ 聚會,並定期就本書中所涉及的主題發表演講。今年晚些時候,他將第二次參加 ISO C++ 委員會會議。
這是他的第一本書。
#### 目錄
1. 經典多型與泛型程式設計
2. 迭代器與範圍
3. 迭代器對演算法
4. 容器動物園
5. 詞彙類型
6. 智慧指標
7. 並發
8. 配置器
9. 輸入輸出流
10. 正則表達式
11. 隨機數
12. 檔案系統