---
product_id: 5297259
title: "Modern C++ Design: Generic Programming and Design Patterns Applied (C++ In-Depth Series)"
price: "14097 kr"
currency: ISK
in_stock: true
reviews_count: 10
url: https://www.desertcart.is/products/5297259-modern-c-design-generic-programming-and-design-patterns-applied-c
store_origin: IS
region: Iceland
---

# Modern C++ Design: Generic Programming and Design Patterns Applied (C++ In-Depth Series)

**Price:** 14097 kr
**Availability:** ✅ In Stock

## Quick Answers

- **What is this?** Modern C++ Design: Generic Programming and Design Patterns Applied (C++ In-Depth Series)
- **How much does it cost?** 14097 kr with free shipping
- **Is it available?** Yes, in stock and ready to ship
- **Where can I buy it?** [www.desertcart.is](https://www.desertcart.is/products/5297259-modern-c-design-generic-programming-and-design-patterns-applied-c)

## Best For

- Customers looking for quality international products

## Why This Product

- Free international shipping included
- Worldwide delivery with tracking
- 15-day hassle-free returns

## Description

desertcart.com: Modern C++ Design: Generic Programming and Design Patterns Applied (C++ In-Depth Series): 0785342704310: Debbie Lafferty, Alexandrescu, Andrei: Books

Review: Exceptional material - The material presented in this book is mainly for library writers and senior developers who are in charge of software design. Having said that, the material here is unlike you'll find in any other book. Author discusses design and implementation of reusable components like a (very sophisticated) singleton, visitor, generalized functors, smart pointers, etc. I found discussions on smart pointers and singleton to be particularly enlightening. Its amazing how a simple design pattern like singleton could have so many intricacies. But the chapter which blew me away was that of typelists, and what author achieves by using simple metaprogramming constructs (although I would be the first one to admit that a mere mortal software developer like myself would not be using typelists everyday, but its still fun to learn about them). This book is very different from whatever material I had read earlier on C++. Do read this book once you are familiar with topics like templates, common design patterns and smart pointers.
Review: The most important C++ book in many years - Many years ago, I began to feel that the power of templates in C++ has not been fully exploited. In more recent years, the emergence of the STL has shown that templates can be used to great advantage for containers, allowing conceptually simple generic implementations to be reused in a wide variety of situations, with no run-time penalty. This advance only increased my sense that we haven't yet seen the full power of templates. Alexandrescue's remarkable work is, in my view, the most original and important advance in C++ since the STL. It has been an article of faith in the design patterns community that one can't implement a reusable design patterns library in any language, because each pattern has dozens of important variations, and an unlimited number of custom variations, all seemingly interdependent. Alexandrescue's work seriously challenges this assumption. He uses "policy classes" (explained in Chapter 1) together with many innovative template techniques to pull apart these interdependencies. The heart of the book describes in detail how he developed the "Loki" library containing many gang-of-four design pattern implementations. Loki's SmartPtr, one of the high points of the book, puts to shame the Standard C++ auto_ptr, which has been the state of the art until now. Even before Alexandrescue's work, templates provided C++ programmers with major advantages not available in "more modern" object-oriented languages such as Java and C#. Alexandrescue multiplies the existing advantages many times, facilitating dramatic increases in C++ programming productivity and quality. Isn't that what high-level language programming is all about? The only negative comment I have is not really a criticism of Alexandrescue's work, but of the deplorable state of C++ compiler implementations. Because many C++ compilers, especially the most popular ones, still do not fully support Standard C++, many of Alexandrescue's techniques cannot yet be used in many practical situations. I would like to think that the importance of supporting Alexandrescue's library will motivate compiler vendors to make the necessary, and long-overdue upgrades.

## Technical Specifications

| Specification | Value |
|---------------|-------|
| Best Sellers Rank | #337,883 in Books ( See Top 100 in Books ) #60 in C++ Programming Language #161 in Computer Programming Languages #727 in Computer Software (Books) |
| Customer Reviews | 4.6 4.6 out of 5 stars (202) |
| Dimensions  | 7.35 x 1 x 9.15 inches |
| Edition  | 1st |
| ISBN-10  | 0201704315 |
| ISBN-13  | 978-0201704310 |
| Item Weight  | 2.31 pounds |
| Language  | English |
| Part of series  | C++ In-Depth |
| Print length  | 360 pages |
| Publication date  | February 13, 2001 |
| Publisher  | Addison-Wesley Professional |

## Images

![Modern C++ Design: Generic Programming and Design Patterns Applied (C++ In-Depth Series) - Image 1](https://m.media-amazon.com/images/I/81TgDTOMtNL.jpg)

## Customer Reviews

### ⭐⭐⭐⭐⭐ Exceptional material
*by A***R on November 25, 2010*

The material presented in this book is mainly for library writers and senior developers who are in charge of software design. Having said that, the material here is unlike you'll find in any other book. Author discusses design and implementation of reusable components like a (very sophisticated) singleton, visitor, generalized functors, smart pointers, etc. I found discussions on smart pointers and singleton to be particularly enlightening. Its amazing how a simple design pattern like singleton could have so many intricacies. But the chapter which blew me away was that of typelists, and what author achieves by using simple metaprogramming constructs (although I would be the first one to admit that a mere mortal software developer like myself would not be using typelists everyday, but its still fun to learn about them). This book is very different from whatever material I had read earlier on C++. Do read this book once you are familiar with topics like templates, common design patterns and smart pointers.

### ⭐⭐⭐⭐⭐ The most important C++ book in many years
*by B***N on September 25, 2001*

Many years ago, I began to feel that the power of templates in C++ has not been fully exploited. In more recent years, the emergence of the STL has shown that templates can be used to great advantage for containers, allowing conceptually simple generic implementations to be reused in a wide variety of situations, with no run-time penalty. This advance only increased my sense that we haven't yet seen the full power of templates. Alexandrescue's remarkable work is, in my view, the most original and important advance in C++ since the STL. It has been an article of faith in the design patterns community that one can't implement a reusable design patterns library in any language, because each pattern has dozens of important variations, and an unlimited number of custom variations, all seemingly interdependent. Alexandrescue's work seriously challenges this assumption. He uses "policy classes" (explained in Chapter 1) together with many innovative template techniques to pull apart these interdependencies. The heart of the book describes in detail how he developed the "Loki" library containing many gang-of-four design pattern implementations. Loki's SmartPtr, one of the high points of the book, puts to shame the Standard C++ auto_ptr, which has been the state of the art until now. Even before Alexandrescue's work, templates provided C++ programmers with major advantages not available in "more modern" object-oriented languages such as Java and C#. Alexandrescue multiplies the existing advantages many times, facilitating dramatic increases in C++ programming productivity and quality. Isn't that what high-level language programming is all about? The only negative comment I have is not really a criticism of Alexandrescue's work, but of the deplorable state of C++ compiler implementations. Because many C++ compilers, especially the most popular ones, still do not fully support Standard C++, many of Alexandrescue's techniques cannot yet be used in many practical situations. I would like to think that the importance of supporting Alexandrescue's library will motivate compiler vendors to make the necessary, and long-overdue upgrades.

### ⭐⭐⭐⭐⭐ masterpiece
*by F***N on March 8, 2005*

First of all, i don't understand why so many ppl complaining that the book talks too much about template. The title says generic programming; even you are so genius that you find other way to accomplish generic programming, I'm sure all the concept still apply. I'm really happy i read a review from Gamma's pattern (very good, but very dry, takes years to digest) book and pointed me to this book. It teaches you how to implement pattern using generic way. As an engineer(not computer science), I found the book answered a lot of question and probelm that I wasn't be able to deal with practically. Here are the list that you can learn from this book, 1. ever wonder how to write library like boost.org, read this book 2. ever wonder how can you create a object with the same type of another object(or some type) without knowing the type, read this book 3. don't want to implement pattern yourself or don't want to hard code the pattern, ex. object factory, then just download the code. VC,BC&GCC are supported Masterpiece.

---

## Why Shop on Desertcart?

- 🛒 **Trusted by 1.3+ Million Shoppers** — Serving international shoppers since 2016
- 🌍 **Shop Globally** — Access 737+ million products across 21 categories
- 💰 **No Hidden Fees** — All customs, duties, and taxes included in the price
- 🔄 **15-Day Free Returns** — Hassle-free returns (30 days for PRO members)
- 🔒 **Secure Payments** — Trusted payment options with buyer protection
- ⭐ **TrustPilot Rated 4.5/5** — Based on 8,000+ happy customer reviews

**Shop now:** [https://www.desertcart.is/products/5297259-modern-c-design-generic-programming-and-design-patterns-applied-c](https://www.desertcart.is/products/5297259-modern-c-design-generic-programming-and-design-patterns-applied-c)

---

*Product available on Desertcart Iceland*
*Store origin: IS*
*Last updated: 2026-04-23*