Skip to content

Hands-On Design Patterns with C++ (Second Edition), published by Packt

License

Notifications You must be signed in to change notification settings

PacktPublishing/Hands-On-Design-Patterns-with-CPP-Second-Edition

Repository files navigation

Hands-On Design Patterns with C++ - Second Edition

Hands-On Design Patterns with C++ - Second Edition

This is the code repository for Hands-On Design Patterns with C++ - Second Edition, published by Packt.

Solve common C++ problems with modern design patterns and build robust applications

What is this book about?

Design patterns is a library of reusable components designed for software architecture, not for concrete implementation. In this book, you’ll learn to recognize and apply various C++ design patterns and idioms. In this second edition, you’ll gain a deep understanding of design patterns and become empowered to create robust, reusable, and maintainable code.

This book covers the following exciting features:

  • Recognize the most common design patterns used in C++
  • Understand how to use C++ generic programming to solve common design problems
  • Explore the most powerful C++ idioms, their strengths, and their drawbacks
  • Rediscover how to use popular C++ idioms with generic programming
  • Discover new patterns and idioms made possible by language features of C++17 and C++20
  • Understand the impact of design patterns on the program’s performance

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

class Database {
   class Storage { ... }; // Disk storage Storage S;
   class Index { ... }; // Memory index Index I;
   public:
     void insert(const Record& r);
 ...
};

Following is what you need for this book: This book is for experienced C++ developers and programmers who wish to learn about software design patterns and principles and apply them to create robust, reusable, and easily maintainable programs and software systems.

With the following software and hardware list you can run all code files present in the book (Chapter 1-18).

Software and Hardware List

Chapter Software required OS required
1 GCC, Clang or Visual Studio Windows, Mac OS X, and Linux (Any)

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Errata

  • Page 64 (code example under 'Expressing exclusive ownership'): DoWork() should be Work()

Related products

Get to Know the Author

Fedor G. Pikus is a Technical Fellow and head of the Advanced Projects Team in Siemens Digital Industries Software. His responsibilities include planning the long-term technical direction of Calibre products, directing and training the engineers who work on these products, design, and architecture of the software, and researching new design and software technologies. His earlier positions included a Chief Scientist at Mentor Graphics (acquired by Siemens Software), a Senior Software Engineer at Google, and a Chief Software Architect for Calibre Design Solutions at Mentor Graphics. He joined Mentor Graphics in 1998 when he made a switch from academic research in computational physics to the software industry. Fedor is a recognized expert in high-performance computing and C++. He is the author of two books on C++ and software design, has presented his works at CPPNow, CPPCon, SD West, DesignCon, and in software development journals, and is also an O’Reilly author. Fedor has over 30 patents and over 100 papers and conference presentations on physics, EDA, software design, and C++ language.

About

Hands-On Design Patterns with C++ (Second Edition), published by Packt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages