DeepRead
Cover of Modern C[plus plus] design

Modern C[plus plus] design

Andrei Alexandrescu · 2000

Programming and computer science › C and C++

#6,093 most recommended

About the book

A C++ book on generic programming and template metaprogramming, applying classic object-oriented design patterns to reusable library components. It covers the techniques of the Loki library, including typelists, policy-based classes, smart pointers, functors, singletons, factories, and small-object allocation, and it assumes working knowledge of C++ templates. Templates let design patterns be written once as configurable, type-safe components instead of rewritten for each application. Policy-based class design separates an component's concerns, such as storage, threading, and error handling, into template parameters that can be combined freely. Typelists and other compile-time computation can move much of this design work into the compiler, with less runtime cost and fewer errors. The book presents these ideas as practical building blocks for library authors.

Written by Claude from what it knows of this book.

What Hacker News says 17% recommend · 17% critical

0242017201820202022202420252024 peak · 3
This bookAverage book in C and C++

In the commenters’ own words

What Open Library readers say

No Open Library reader has rated it yet.

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

Details

First published
2000
ISBN
9780201704310
Editions known
2 at Open Library
Open Library
OL8021675W

005.13/3C plus plus (computer program language)C++ (Computer program language)C[plus plus] (Computer program language)Generic programming (Computer science)Qa76.73.c153 a42 2001

Explore in the mosaic

Read next: its neighbours on the mosaic

  • The design and evolution of C[plus plus]
    Bjarne Stroustrup · 1994 · recommended by 38 people · similar by subject and what people say about it
  • Modern C
    Jens Gustedt · 2019 · recommended by 37 people · similar by subject and what people say about it
  • Modern C++ Design
    Andrei Alexandrescu · 2001 · recommended by 29 people · similar by subject and what people say about it
  • Effective Modern C++
    Scott Meyers · 2014 · recommended by 63 people · similar by subject and what people say about it
  • Elements of programming
    Alexander A. Stepanov · 2009 · recommended by 31 people · similar by subject and what people say about it
  • 21st Century C
    Ben Klemens · 2012 · recommended by 42 people · similar by subject and what people say about it
  • Modern compiler implementation in C
    Andrew W. Appel · 2004 · recommended by 8 people · similar by subject and what people say about it
  • Effective C++
    Scott Meyers · 1991 · recommended by 112 people · similar by subject and what people say about it
  • Embracing Modern C++ Safely
    John Lakos · 2021 · recommended by 2 people · similar by subject and what people say about it
  • Modern C for Absolute Beginners
    Slobodan Dmitrović · 2021 · recommended by 2 people · similar by subject and what people say about it
  • Discovering Modern C++
    Peter Gottschling · 2015 · recommended by 4 people · similar by subject and what people say about it
  • C++ primer plus
    Stephen Prata · 1995 · recommended by 12 people · similar by subject and what people say about it
  • The annotated C++ reference manual
    Margaret A. Ellis · 1990 · recommended by 2 people · similar by subject and what people say about it
  • C++ coding standards
    Herb Sutter · 2004 · recommended by 10 people · similar by subject and what people say about it
  • Modern compiler design
    Dick Grune · 2000 · recommended by 12 people · similar by subject and what people say about it
  • Large-scale C[plus plus] software design
    John Lakos · 1996 · recommended by 6 people · similar by subject and what people say about it
  • Advanced C₊₊ programming styles and idioms
    James O. Coplien · 1992 · recommended by 4 people · similar by subject and what people say about it
  • The C++ programming language
    Bjarne Stroustrup · 1985 · recommended by 19 people · similar by subject and what people say about it
  • Inside the C⁺⁺ object model
    Stanley B. Lippman · 1996 · recommended by 7 people · similar by subject and what people say about it
  • A Tour of C++
    Bjarne Stroustrup · 2013 · recommended by 65 people · similar by subject and what people say about it
  • Functional Programming in C++
    Ivan Cukic · 2019 · recommended by 3 people · similar by subject and what people say about it
  • Professional C++
    Marc Gregoire · 2011 · recommended by 4 people · similar by subject and what people say about it
  • The D programming language
    Andrei Alexandrescu · 2010 · recommended by 4 people · similar by subject and what people say about it
  • C Concurrency in Action
    Anthony Williams · 2012 · recommended by 14 people · similar by subject and what people say about it