In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "The buffer() function accepts arguments of type int."

A block of code is set as follows:

    try {      none.get();    } catch (const std::future_error& ex) {      assert(ex.code() == std::future_errc::broken_promise);    }

New terms and important words are shown in bold.

Warnings or important notes appear like this.
Tips and notes appear like this.

Get Mastering the C++17 STL now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.