Technical requirements
The code examples in this chapter can be found in the GitHub repository https://github.com/PacktPublishing/Debunking-CPP-Myths in the ch1
folder. The code uses doctest
(https://github.com/doctest/doctest) as a testing library, g++
and make
for compilation, and targets C++ 20. You will also need valgrind
(https://valgrind.org/) to check for memory leaks.