Modern C++ Design

From Wikipedia, the free encyclopedia

Modern C++ Design
Author Andrei Alexandrescu
Language English
Subject(s) C++
Publisher Addison-Wesley
Publication date 2001
Pages 323 pp
ISBN ISBN 0-201-70431-5
OCLC 45129236

Modern C++ Design is a book written by Andrei Alexandrescu, published in 2001 and subtitled "Generic Programming and Design Patterns Applied".

The book explores a new technique of programming in the C++ programming language called template metaprogramming. While Alexandrescu didn't invent the technique, he has popularized it among programmers. His book is written in readable, witty style and contains solutions to practical problems which C++ programmers may face. Several phrases from the book are now used within the C++ community as generic terms: modern C++ (as opposed to C/C++ style), policy-based design and typelist.

All of the code described in the book is freely available in his library Loki.

The book has been republished and translated into several languages since 2001.

[edit] See also

  • Loki library described in the book

[edit] External links

Languages