Skip to content

Latest commit

 

History

History

Chapter01

Chapter 1: Debunking Common Myths about C++

This folder contains examples in C and C++ from first chapter.

These are standalone examples that can be compiled by most compilers for x86_64 architecture.

You can explore the examples online in Compiler Explorer.

The folder contains following examples:

  • ring_buffer.c
  • ring_buffer_type_erasure.c
  • ring_buffer_compile_time_generic.c
  • ring_buffer.cpp
  • compile_time_const.c
  • compile_time_const.cpp
  • compile_time_square_func.cpp
  • undefined_behavior.cpp
  • bloat.cpp
  • rtti.cpp
  • exceptions.cpp