Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “We sort the numericalData vector and calculate the median based on size and values”
A block of code is set as follows:
#include <iostream> #include <vector> #include <algorithm> #include <map>
Any command-line input or output is written as follows:
std::unique_ptr<Base> ptr = std::make_unique_default_init<Derived> (); ptr->test();
Tips or important notes
Appear like this.