Skip to content

Glossary: Software Design Patterns in C++

g++

Also written: clang++, g++ -std=c++20 -Wall -Wextra

The GNU C++ compiler (a recent clang++ also works). `g++ -std=c++20 -Wall -Wextra file.cpp -o file` compiles with C++20 and extra warnings, and `./file` runs the result.

Where the book teaches it