Tags
Language
Tags
April 2024
Su Mo Tu We Th Fr Sa
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 1 2 3 4

Modern C++ Design: Generic Programming and Design Patterns Applied [Repost]

Posted By: ChrisRedfield
Modern C++ Design: Generic Programming and Design Patterns Applied [Repost]

Andrei Alexandrescu - Modern C++ Design: Generic Programming and Design Patterns Applied
Published: 2001-02-23 | ISBN: 0201704315 | PDF + DJVU + CHM + EPUB + MOBI | 352 pages | 6 MB


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