/Modern-C-Design

Examples for each chapter from "Modern C++ Design" by Andrei Alexandrescu

Primary LanguageC++MIT LicenseMIT

Modern C++ Design

Examples for each chapter from "Modern C++ Design" by Andrei Alexandrescu

I picked up the book while I was rediscovering "The Binding of Isaac" and I decided to use policies from the first chapter to implement the behavior of familiar. This led to me deciding to use the knowledge from the book to try and make a game using as much metaprogramming as possible.

Currently I'm going through the book and once I'm done I'll start work on the game.

Note: You may notice code copy pasted all over the place. I did this because some chapters required me to edit the code and I didn't want to break previous examples. I'll try to go back an unify them once I'm done.

Directions

The main solution can be found in the "ModernCppDesign" folder, open it and compile

TODO

  • Write explanations
  • Game

References

  • Loki Library - sourceforge.net
  • Book - Alexandrescu, Andrei. Modern C++ design: generic programming and design patterns applied. Addison-Wesley, 2001.