Skip to Content
Advanced C++ Programming Cookbook
book

Advanced C++ Programming Cookbook

by Dr. Rian Quinn
January 2020
Intermediate to advanced
454 pages
11h 25m
English
Packt Publishing
Content preview from Advanced C++ Programming Cookbook

Conventions used

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

constexpr: Indicates code words in text, numbers, folder names, filenames, file extensions, pathnames, dummy URLs, and user input. Here is an example: "The noexcept specifier is used to tell the compiler whether a function may or may not throw a C++ exception."

A block of code is set as follows:

int main(void){    the_answer is;    return 0;}

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

int main(void){    auto execute_on_exit = finally{[]{        std::cout << "The answer is: 42\n";    }};}

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

> mkdir build && cd build> cmake ..> make recipe04_examples ...
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

Modern C++ Programming Cookbook

Modern C++ Programming Cookbook

Marius Bancila

Publisher Resources

ISBN: 9781838559915Supplemental Content