沃新书屋 - C++17 In Detail - pdf 网盘 高速 下载地址大全 免费
本书资料更新时间:2025-05-07 12:21:32

C++17 In Detail pdf 网盘 高速 下载地址大全 免费

C++17 In Detail精美图片
其他格式下载地址

C++17 In Detail书籍详细信息


内容简介:

++17 is a major update to the language and brings many exciting additions and improvements that will change your code for the better. This book shows you all of the significant changes in the new Standard. I spent hundreds of hours investigating how the new features work to ensure this book is helpful and practical. It will not only save you time but will guide you through lots of nuances of the language and the Standard Library. Among the dozens of C++17’s enhancements described in the book, you will learn about the following: Class Template Argument Deduction Structured Bindings Fold Expressions Inline Variables Parallel Algorithms Polymorphic Allocator std::any std::byte std::filesystem std::from_chars std::optional std::string_view std::variant [[nodiscard]] if constexpr If you have experience with C++11/14 and you want to advance to the latest C++ Standard, then pick up the book and start reading. “If you’ve ever asked ‘what’s in C++17 and what does it mean for me and my pre?’ — and I hope you have — then this book is for you.” Herb Sutter The book is also available as ebook @Leanpub: https://leanpub.com/cpp17indetail

书籍目录:

About the Author Technical Reviewer Additional Reviewers & Supporters Revision History Foreword Preface About the Book Who This Book is For Overall Structure of the Book Reader Feedback Example Code Part 1 - Language Features 1. Quick Start 2. Removed or Fixed Language Features Removed Elements Fixes Compiler Support 3. Language Clarification Stricter Expression Evaluation Order Guaranteed Copy Elision Dynamic Memory Allocation for Over-Aligned Data Exception Specifications in the Type System Compiler Support 4. General Language Features Structured Binding Declarations Init Statement for if and switch Inline Variables constexpr Lambda Expressions Capturing [*this] in Lambda Expressions Nested Namespaces __has_include Preprocessor Expression Compiler support 5. Templates Template Argument Deduction for Class Templates Fold Expressions if constexpr Declaring Non-Type Template Parameters With auto Other Changes Compiler Support 6. Standard Attributes Why Do We Need Attributes? Before C++11 Attributes in C++11 and C++14 C++17 Additions Section Summary Compiler support Part 2 - The Standard Library Changes 7. std::optional Introduction std::optional Creation Returning std::optional Accessing The Stored Value std::optional Operations Performance & Memory Consideration Migration from boost::optional Special case: optional and optional Examples of std::optional Summary Compiler Support 8. std::variant The Basics std::variant Creation Changing the Values Accessing the Stored Value Visitors for std::variant Other std::variant Operations Exception Safety Guarantees Performance & Memory Considerations Migration From boost::variant Examples of std::variant Wrap Up Compiler Support 9. std::any The Basics std::any Creation Changing the Value Accessing The Stored Value Performance & Memory Considerations Migration from boost::any Examples of std::any Wrap Up Compiler Support 10. std::string_view The Basics The std::basic_string_view Type std::string_view Creation Other Operations Risks Using string_view Initializing string Members from string_view Handling Non-Null Terminated Strings Performance & Memory Considerations Migration from boost::string_ref and boost::string_view Examples Wrap Up 11. String Conversions Elementary String Conversions Converting From Characters to Numbers: from_chars Converting Numbers into Characters: to_chars The Benchmark Summary Compiler support 12. Searchers & String Matching Overview of String Matching Algorithms New Algorithms Available in C++17 Examples Summary Compiler support 13. Filesystem Filesystem Overview Demo The Path Object The Directory Entry & Directory Iteration Supporting Functions Error Handling & File Races Examples Chapter Summary Compiler Support 14. Parallel STL Algorithms Introduction Overview Execution Policies Algorithm Update New Algorithms Performance of Parallel Algorithms Examples Chapter Summary Compiler Support 15. Other Changes In The Library std::byte Improvements for Maps and Sets Return Type of Emplace Methods Sampling Algorithms New Mathematical Functions Shared Pointers and Arrays Non-member size(), data() and empty() constexpr Additions to the Standard Library std::scoped_lock Polymorphic Allocator, pmr Compiler support 16. Removed And Deprecated Library Features Removing auto_ptr Removed std::random_shuffle “Removing Old functional Stuff” std::iterator Is Deprecated Other Smaller Removed or Deprecated Items Compiler support Part 3 - More Examples and Use Cases 17. Refactoring with std::optional and std::variant The Use Case The Tuple Version A Separate Structure With std::optional With std::variant Wrap up 18. Enforcing Code Contracts With [[nodiscard]] Introduction Where Can It Be Used? How to Ignore [[nodiscard]] Before C++17 Summary 19. Replacing enable_if with if constexpr - Factory with Variable Arguments The Problem Before C++17 With if constexpr Summary 20. How to Parallelise CSV Reader Introduction and Requirements The Serial Version Using Parallel Algorithms Tests Wrap up & Discussion Appendix A - Compiler Support GCC Clang VisualStudio - MSVC Compiler Support of C++17 Features Appendix B - Resources and References Index Notes

作者简介:

Bartłomiej (Bartek) Filipek is a C++ software developer from the beautiful city of Cracow in Southern Poland. He started his professional career in 2007 and in 2010 he graduated from Jagiellonian University with a Masters Degree in Computer Science. He's part of the Polish ISO Body for C++ and has been a Microsoft MVP since 2018. Bartek currently works at Xara, where he develops features for advanced document desktop and online editors. Since 2011, Bartek has been regularly blogging at bfilipek.com (converted to cppstories.com) where he focuses on C++. He is also a co-organizer of the C++ User Group in Cracow. See his blog at www.cppstories.com

其它内容:

暂无其它内容!


下载点评

  • 文采斐然(567+)
  • 模糊(345+)
  • PDF(425+)
  • 强推(185+)
  • 多格式(333+)
  • 可复制(895+)
  • 力荐(708+)
  • 研究(193+)
  • 自动(1175+)
  • 惊喜(1613+)
  • 完美(601+)
  • 可编辑(247+)
  • 流畅(697+)
  • 解决急需(161+)
  • 精校(999+)
  • 必备(744+)
  • 适配(519+)

下载评论

  • 用户1720245508: ( 2024-07-06 13:58:28 )

    内容过时,不适合当前学习需求。

  • 用户1738278127: ( 2025-01-31 07:02:07 )

    完整版本报告资源,MOBI/TXT格式适配各种阅读设备,推荐下载。

  • 用户1725835325: ( 2024-09-09 06:42:05 )

    精校版本报告资源,MOBI/AZW3格式适配各种阅读设备,值得收藏。

  • 用户1729234453: ( 2024-10-18 14:54:13 )

    优质的学术资源,音频设计提升阅读体验,值得收藏。

  • 用户1724791019: ( 2024-08-28 04:36:59 )

    优质版本教材资源,MOBI/TXT格式适配各种阅读设备,值得收藏。


相关书评

暂时还没有人为这本书评论!


以下书单推荐