Modern C++ Design defines and systematically uses generic components - highly flexible design artifacts that are mixable and matchable to obtain rich behaviors with a small, orthogonal body of code.
Modern C++ Design has been translated in
German,
Japanese,
Traditional Chinese,
Simplified Chinese,
Korean (also coming with a cool sample chapter online),
Russian,
and
Romanian - Andrei's native language.
Chapter 1: Policy-Based Design (full chapter)
Chapter 7: Smart Pointers (full chapter)
To download Loki, you may want to mosey to project loki-lib on sourceforge.net.
If you would like to contribute to Loki with enhancements, bug fixes, test cases, ideas and whatnot, please email Andrei.
New!
Benjamin Kaufmann does the most complete port of Loki to Microsoft Visual C++ 6 (Service Pack 5)!
Rani Sharoni has ported all of Loki to Visual C++ version 7.0 aka VC.NET!
Download the original (read: dated) source code. That code is intended as a companion to the book - it mostly uses the same syntactic conventions and constructs exemplified by the text. Again, the latest source code is on sourceforge - see above.
ACCU review written by Francis Glassborow himself! DevX review by Angelika Langer and Klaus Kreft Windows Developers Journal review by Victor Volkman Comments on the Usenet in various languages
[most recent first] Overview in Chinese A short review on it-minds.com A bunch of funny, but allegedly favorable reader comments on flipcode.com An overview in Spanish
Modern C++ Design is widely acclaimed for its creative approach to devising powerful designs by reuniting generic programming and design patterns.Read excerpts from Modern C++ Design, featured by InformIT:
More about Modern C++ Design:
Modern C++ Design in press:
"If you think I am wildly in favour of this book, you would be dead right."
"This book will most likely change the way you use and understand C++ templates."
"As an advanced C++ programmer, if you have the time, energy, or inclination to read only one C++ book this year, my recommendation is pick up Alexandrescu’s Modern C++ Design."
"Honestly, the book restored my faith in C++ being the One True Language [...]. Flamewars aside, the power that the book describes is immense..." (Eli Stevens)
[Well, I wouldn't know what quote to insert in here...]
"This text presents exciting, powerful new C++ idioms, brilliantly bringing together Standard C++, design patterns, and generic programming..."
"C++ is cool. STL is quite cool. Modern C++ is just so cool."
"Este libro constituye un salto adelante similar al que la publicación de libros tales como Advanced C++ Programming Styles and Idioms supuso a comienzos de los 90." ["This book ahead constitutes a jump similar to which the book publication such as Advanced C++ Programming Styles and Idioms supposed at the beginning of the 90."]