Skip to Content
C++ High Performance - Second Edition
book

C++ High Performance - Second Edition

by Björn Andrist, Viktor Sehr
December 2020
Intermediate to advanced
544 pages
12h 45m
English
Packt Publishing
Content preview from C++ High Performance - Second Edition

5

Algorithms

The use of containers from the standard library is widely employed among C++ programmers. It's rare to find C++ code bases without references to std::vector or std::string, for example. However, in my experience, standard library algorithms are much less frequently used, even though they offer the same kind of benefits as containers:

  • They can be used as building blocks when solving complex problems
  • They are well documented (including references, books, and videos)
  • Many C++ programmers are already familiar with them
  • Their space and runtime costs are known (complexity guarantees)
  • Their implementations are well crafted and efficient

If this wasn't enough, C++ features such as lambdas, execution policies, concepts, and ranges have ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C++ High Performance

C++ High Performance

Viktor Sehr, Björn Andrist

Publisher Resources

ISBN: 9781839216541Supplemental Content