Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, folder names, filenames, file extensions, dummy URLs, and user input. Here is an example: "The keyword constexpr was introduced in C++11."

A block of code is set as follows:

#include <iostream>auto main() -> int {  std::cout << "High Performance C++\n";}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

#include <iostream>auto main() -> int {  std::cout << "High Performance C++\n";}

Any command-line input or output is written as follows:

$ clang++ -std=c++17 high_performance.cpp$ ./a.out$ High Performance C++

Bold: Indicates a new term, an important ...

Get C++ High Performance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.