书籍 C++17 STL Cookbook的封面

C++17 STL Cookbook

Jacek Galowicz

出版时间

2017-06-27

ISBN

9781787120495

评分

★★★★★
书籍介绍

Key Features

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.

Book Description

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.

What you will learn

Learn about the new core language features and the problems they were intended to solveUnderstand the inner workings and requirements of iterators by implementing themExplore algorithms, functional programming style, and lambda expressionsLeverage the rich, portable, fast, and well-tested set of well-designed algorithms provided in the STLWork with strings the STL way instead of handcrafting C-style codeUnderstand standard support classes for concurrency and synchronization, and how to put them to workUse the filesystem library addition available with the C++17 STL

About the Author

Jacek Galowicz obtained his master of science in electrical engineering/computer engineering at RWTH Aachen University, Germany. While at university, he enjoyed working as a student assistant in teaching and research, and he participated in several scientific publications. During and after his studies, he worked as a freelancer and implemented applications as well as kernel drivers in C and C++, touching various areas, including 3D graphics programming, databases, network communication, and physics simulation. In recent years, he has been programming performance- and security-sensitive microkernel operating systems for Intel x86 virtualization at Intel and FireEye in Braunschweig, Germany. He has a strong passion for modern C++ implementations of low-level software, and he tries hard to combine high performance with an elegant coding style. Learning purely functional programming and Haskell in recent years triggered his drive to implement generic code with the aid of meta programming.

Table of Contents

The New C++17 FeaturesSTL ContainersIteratorsLambda ExpressionsSTL Algorithm BasicsAdvanced Use of STL AlgorithmsStrings, Stream Classes, and Regular ExpressionsUtility ClasssesParallelism and ConcurrencyFilesystem

About the Author

Jacek Galowicz obtained his master of science in electrical engineering/computer engineering at RWTH Aachen University, Germany. While at university, he enjoyed working as a student assistant in teaching and research, and he participated in several scientific publications. During and after his studies, he worked as a freelancer and implemented applications as w...

(展开全部)

用户评论
用讲故事的方式解说c++17新特性及stl,解说有深度,似乎作者是欧洲人所以语言质朴绝无废话
令人失望。cookbook 应该是能给读者 insight 或者 aha moment 的书,但是这本非常平庸,一些明显可以深入的点都没有展开。倒是作者非常喜欢 FP,很多不适合用 FP 讲解的例子因为用了 FP-style 让人更加 confused。
It is too simple to be named cookbook. A cookbook should be talking about the top level APIs for applications and bottom level insights for implements. Those who want to know more about cpp17 can read 'C++17 - The Complete Guide' by Nicolai M. Josuttis
真不如直接去看Cppreference
视角独特,B.S.早在TCPPPL第三版就提出可以把C++当高级语言学习,我觉得会使用库写小东西不一定比脚本语言,这本书在一堆初学不够好,进阶又指不上的书中鹤立鸡群,特别在强调effective的环境中提供了另一种视角。
算是第一次认认真真地看这类讲语言recipe 的书,结合代码,边改边试,学到了很多C++17有意思的演进思想