Skip to content
Scan a barcode
Scan
Added to your cart
Paperback Modern C++ Design: Generic Programming and Design Patterns Applied Book

ISBN: 0201704315

ISBN13: 9780201704310

Modern C++ Design: Generic Programming and Design Patterns Applied

In Modern C++ Design, Andrei Alexandrescu opens new vistas for C++ programmers. Displaying extraordinary creativity and programming virtuosity, Alexandrescu offers a cutting-edge approach to design that unites design patterns, generic programming, and C++, enabling programmers to achieve expressive, flexible, and highly reusable code. This book introduces the concept of generic components--reusable design templates that produce boilerplate code for compiler consumption--all within C++. Generic components enable an easier and more seamless transition from design to application code, generate code that better expresses the original design intention, and support the reuse of design structures with minimal recoding. The author describes the specific C++ techniques and features that are used in building generic components and goes on to implement industrial strength generic components for real-world applications. Recurring issues that C++ developers face in their day-to-day activity are discussed in depth and implemented in a generic way. These include: Policy-based design for flexibility Partial template specialization Typelists--powerful type manipulation structures Patterns such as Visitor, Singleton, Command, and Factories Multi-method engines For each generic component, the book presents the fundamental problems and design options, and finally implements a generic solution.

Recommended

Format: Hardcover

Condition: New

$100.00
Save $5.00!
List Price $105.00
50 Available
Ships within 2-3 days

You Might Also Enjoy

Hacker's Delight
Hacker's Delight
Henry S. Warren Jr.

from: $50.19

Advanced Programming in the UNIX Environment
Advanced Programming in the UNIX Environment
W. Richard Stevens

from: $4.79

The Art of UNIX Programming
The Art of UNIX Programming
Eric S. Raymond

from: $23.49

Design Patterns: Elements of Reusable Object-Oriented Software (Addison-Wesley Professional Computing Series)
Design Patterns: Elements of Reusable Object-Oriented Software (Addison-Wesley Professional Computing Series)
Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides

from: $25.89

Refactoring: Improving the Design of Existing Code
Refactoring: Improving the Design of Existing Code
Martin Fowler, Kent Beck, Fowler Martin, John Brant

from: $5.29

Effective C++: 55 Specific Ways to Improve Your Programs and Designs
Effective C++: 55 Specific Ways to Improve Your Programs and Designs
Scott Meyers

from: $4.79

Compilers : Principles, Techniques, and Tools
Compilers : Principles, Techniques, and Tools
Monica S. Lam, Ravi Sethi, Jeffrey D. Ullman, Alfred V. Aho, Monica Lam, R. Sethi, Jeffrey D. Aho, Alfred V.; Sethi, Ravi; Ullman

from: $12.89

Working Effectively with Legacy Code
Working Effectively with Legacy Code
Michael C. Feathers

from: $21.59

Introduction to Algorithms
Introduction to Algorithms
Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, Clifford Stein

from: $15.39

Purely Functional Data Structures
Purely Functional Data Structures
Chris Okasaki

from: $27.99

Programming Pearls
Programming Pearls
Jon L. Bentley

from: $5.09

The C++ Programming Language
The C++ Programming Language
Bjarne Stroustrup

from: $5.09

The Algorithm Design Manual
The Algorithm Design Manual
Steven S. Skiena, Steve S. Skiena

from: $61.44

Code Complete
Code Complete
Steve McConnell

from: $6.19

On LISP: Advanced Techniques for Common LISP
On LISP: Advanced Techniques for Common LISP
Paul Graham

from: $238.09

Types and Programming Languages
Types and Programming Languages
Benjamin C. Pierce

from: $120.74

The Practice of Programming
The Practice of Programming
Rob Pike, Brian W. Kernighan

from: $13.79

More Effective C++: 35 New Ways to Improve Your Programs and Designs
More Effective C++: 35 New Ways to Improve Your Programs and Designs
Scott Meyers

from: $4.39

Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library
Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library
Scott Meyers

from: $5.09

Domain-Driven Design: Tackling Complexity in the Heart of Software
Domain-Driven Design: Tackling Complexity in the Heart of Software
Eric Evans

Out of Stock

Customer Reviews

0 customer rating | 0 review

Rated 5 stars
Template metaprogramming on crack

Simply put, this is one of the best C++ books I have come across. It will open your eyes to what generic programming really is and how it can be done with C++.As another review states, "this book is mostly about templates". Certainly true. This book takes templates where few have dared venture. Rather than use templates as a glorifed macro system, Alexandrescu uses templates to define small code generation engines. Your...

0Report

Rated 5 stars
Read this milestone book!

I highly recommended this book if you are interested in generic techniques and Design PatternsThis book uses C++ and Generic programming techniques to implement GoF Design Patterns [1]. It introduces Andrei's "Generic Design Patterns Library", called "Loki". Loki's techniques are more important than the library itself and should be applicable in many other contexts. (Since the library is not yet available, I cannot comment...

0Report

Rated 5 stars
An Essential C++ Book

First came type-safe containers and generic algorithms, and then came traits. Now, thanks to Andrei Alexandrescu's ground breaking new book "Modern C++ Design," we have policies. Policies provide a means of creating very flexible and extendable libraries with little to no run-time overhead.As an example consider the Singleton pattern. What is the lifetime of the singleton? Should it be destroyed? If so, when? What, if...

0Report

Rated 5 stars
After two disappointments...

I was longing for a good book on advanced C++. First, I bought "Multi-Paradigm C++". It does have some insights but author's style is baroque to the extreme. A good cure for insomnia. Then I bought "Generative Programming". I found it too much of a PhD thesis garnished with too much fluff for my taste.Not wanting to risk anymore, I borrowed this book from a friend... to lose sleep for two nights reading it! It is the book...

0Report

Rated 5 stars
A significant and valuable book; strongly recommended.

I was waiting for this, and pestering bookstores for it for 2 weeks before it arrived. And it still exceeded my expectations. Note: The author was partly responsible for the C++ ScopeGuard library - an amazing, essential piece of code.For any C++ engineers using reference counting (that'll be all of us, then), the amazingly configurable SmartPtr and the SmallObjectAllocator are instantly worth many times the price of the...

0Report

Copyright © 2025 Thriftbooks.com Terms of Use | Privacy Policy | Do Not Sell/Share My Personal Information | Cookie Policy | Cookie Preferences | Accessibility Statement
ThriftBooks ® and the ThriftBooks ® logo are registered trademarks of Thrift Books Global, LLC
GoDaddy Verified and Secured