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: “The example uses the open()
and close()
POSIX functions, which try to open and close a file from the filesystem of our Linux test environment.”
A block of code is set as follows:
if (ecode.value() == EEXIST)
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
std::for_each(v1.begin(), v1.end(), [&mean, sum{0.0}, count{0}, text](const double& val) mutable
Any command-line input or output is written as follows:
$ ./test
Tips or important notes
Appear like this.