The C++ Standard Library
What every professional C++ programmer should know about the C++ standard library.
With C++11 and C++14 we have a lot of new C++ libraries. In addition to that, the existing ones are greatly improved. The key idea of my book is to give you the necessary information on the current C++ libraries in about 200 pages.
The book is an improved version of my German book "C++ Standardbibliothek" published by O'Reilly.
The goal of this quick reference is to provide a concise reference of the C++ standard library. This book assumes that you are familiar with C++. If so you will get the most benefit out of this book. If C++ is totally new to you, you should start with a textbook about core C++. Once you have mastered a textbook about the core language, you can make your next big step by reading this book. To make your job easier, I have provided a lot of short code snippets to connect theory and practice.
- pdf: 200 pages
- Verlag: Selfpublishing on Leanpub
- Sprache: Englisch
Arguably the quickest and easiest way to get up to speed on the most important parts of the C++ standard library. Recommended for any modern C++ programmer.
– Rick Audet, Senior Engineer, Dolby Laboratories
At Leanpub Leanpub/cpplibrary
- Page 16 (Andrzej Warzynski)
- Page 29 (Andrzej Warzynski)
- Page 33, line 5 in source code (Andrzej Warzynski)
cout << is_const<const int>::value; //false => cout << is_const<const int>::value; //true
- Page 51, in source code (Andrzej Warzynski)
s/ // 6 7 8 9 10 11/ // 1 2 3 4 5 6 7 8 9 10 11/
- Page 54, in source code (Andrzej Warzynski)
- the std::foward_list<int> should be called forw, and forw2
- Page 55, in source code (Andrzej Warzynski)
s/for (auto i: forw) cout << *i << " "; // 1 2 3 4 5 6 7/for (auto i: forw) cout << i << " "; // 1 2 3 4 5 6 7/
- Page 69, in source code (Andrzej Warzynski)
s/std::cout << myStack.top(); << " ";/std::cout << myStack.top() << " ";/
- Page 86, in source code (Andrzej Warzynski)
s/if (iter == myCha.end()) cout << "None of A, B or C."/if (iter == myCha.end()) cout << "None of A, B or C.";/
Page 93, in source code (Andrzej Warzynski)
In the code snippet, missing closing brace (`)`) when calling call to std::remove_if()