C++17 STL Cookbook

C++17 STL Cookbook
复制标题

C 17 STL 食谱

DOI:
--
复制
发表时间:
2017
期刊:
影响因子:
--
通讯作者:
Jacek Galowicz
Jacek Galowicz
中科院分区:
--
文献类型:
--
作者:
Jacek Galowicz

文献摘要

被引文献

相似文献

90多个利用C++17标准库强大特性的示例 关于本书 学习C++的最新特性以及如何通过使用标准库(STL)编写更好的代码。减少应用程序的开发时间。 了解STL特性的适用范围和强大功能,以处理现实世界中的问题。 在不丧失STL方式的简洁性和优雅性的前提下编写自己的算法。 本书适合谁 本书适合中高级C++程序员,他们希望充分利用最新版本C++(C++17)的标准模板库。 你将学到什么 了解新的核心语言特性以及它们旨在解决的问题 通过实现迭代器来理解其内部工作原理和要求 探索算法、函数式编程风格和lambda表达式 利用STL中提供的丰富、可移植、快速且经过良好测试的精心设计的算法集 以STL的方式处理字符串,而不是手工编写C风格的代码 了解用于并发和同步的标准支持类,以及如何使用它们 使用C++17 STL新增的文件系统库 详细内容 C++已经取得了长足的发展,并应用于工业的各个领域。它快速、高效且灵活,用于解决许多问题。即将发布的C++版本将使程序员改变他们的编码方式。如果你想掌握C++17 STL的实际用途,以便编写更智能、完全可移植的代码,那么这本书适合你。 从新的语言特性开始,本书将帮助你理解语言的机制和库特性,并深入了解它们的工作原理。与其他书籍不同,我们的书采用特定于实现的、问题 - 解决方案的方法,这将帮助你快速克服障碍。你将学习STL的核心概念,如容器、算法、实用类、lambda表达式、迭代器等,同时处理实际的示例。这些示例将帮助你充分利用STL,并向你展示如何以更好的方式编程。 到本书结尾时,你将了解最新的C++17特性,并在使用STL优雅地解决任务时节省时间和精力。 风格与方法 这本基于示例的指南将向你展示如何结合C++和STL,更好地利用标准语言。
Over 90 recipes that leverage the powerful features of the Standard Library in C++17 About This Book Learn the latest features of C++ and how to write better code by using the Standard Library (STL). Reduce the development time for your applications. Understand the scope and power of STL features to deal with real-world problems. Compose your own algorithms without forfeiting the simplicity and elegance of the STL way. Who This Book Is For This book is for intermediate-to-advanced C++ programmers who want to get the most out of the Standard Template Library of the newest version of C++: C++ 17. What You Will Learn Learn about the new core language features and the problems they were intended to solve Understand the inner workings and requirements of iterators by implementing them Explore algorithms, functional programming style, and lambda expressions Leverage the rich, portable, fast, and well-tested set of well-designed algorithms provided in the STL Work with strings the STL way instead of handcrafting C-style code Understand standard support classes for concurrency and synchronization, and how to put them to work Use the filesystem library addition available with the C++17 STL In Detail C++ has come a long way and is in use in every area of the industry. Fast, efficient, and flexible, it is used to solve many problems. The upcoming version of C++ will see programmers change the way they code. If you want to grasp the practical usefulness of the C++17 STL in order to write smarter, fully portable code, then this book is for you. Beginning with new language features, this book will help you understand the language's mechanics and library features, and offers insight into how they work. Unlike other books, ours takes an implementation-specific, problem-solution approach that will help you quickly overcome hurdles. You will learn the core STL concepts, such as containers, algorithms, utility classes, lambda expressions, iterators, and more, while working on practical real-world recipes. These recipes will help you get the most from the STL and show you how to program in a better way. By the end of the book, you will be up to date with the latest C++17 features and save time and effort while solving tasks elegantly using the STL. Style and approach This recipe-based guide will show you how to make the best use of C++ together with the STL to squeeze more out of the standard language