C++ Object-Oriented Programming (OOP): Mastering Classes, Inheritance, Polymorphism & SOLID Design Patterns to Build Robust, Efficient, and Maintainable Mordern C++ Systems - Richard M. Ponds
-20% with code BOOKS
Shipping in 10-16 days
30-day return policy
Mastering C++ OOP isn’t just a reference, it’s your definitive playbook for crafting scalable, maintainable Modern C++ systems. From enforcing RAII with smart pointers to modularizing vast codebases, this book guides you through every facet of contemporary C++ development. You’ll learn how to apply SOLID principles and Clean Architecture, harness concurrency with threads, futures, and coroutines, and build ... Full description
You May Also Like
Description
What You’ll Learn
✔ Classes, Inheritance & Polymorphism
– Decompose complex behavior into focused collaborators using access specifiers, abstract base classes, and interface segregation
– Extend and override functionality safely with virtual functions, final methods, and the Curiously Recurring Template Pattern (CRTP)
– Leverage custom copy/move constructors, assignment operators, and deleted functions to enforce invariants and resource ownership
✔ SOLID Principles & Clean Architecture in C++
– Apply Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion to your modules
– Structure code into domain, service, and infrastructure layers with strict inward-pointing dependencies
– Swap implementations without modifying clients via factory methods, dependency injection, and policy-based design
✔ Templates, Concepts & Metaprogramming
– Master function and class templates, specialization, and variadic templates for reusable abstractions
– Enforce compile-time constraints with C++20 Concepts, requires clauses, and SFINAE
– Build zero-overhead type erasure wrappers with std::variant, std::any, and custom dispatch for plugin architectures
✔ Concurrency, Coroutines & Thread Safety
– Expose asynchronous APIs with std::async, std::thread, and std::future alongside structured coroutines (co_await, co_return)
– Compose and coordinate tasks using std::promise, std::packaged_task, and high-level libraries like Boost.Asio
– Protect shared data with std::mutex, std::atomic, lock-free queues, and thread-safe smart pointers
✔ Resource Management, Memory Layout & Low-Level Optimizations
– Design RAII-compliant types with std::unique_ptr, std::shared_ptr, and custom deleters to avoid leaks
– Optimize data locality using small-buffer optimization, structure-of-arrays, and cache-aware algorithms
– Profile hotspots with perf, VTune, or Google Benchmark, then apply loop unrolling, SIMD intrinsics, and PGO
✔ Testing Strategies: GoogleTest, Catch2 & CI Automation
– Write fast, deterministic unit tests with GoogleTest fixtures and Catch2’s BDD syntax
– Mock interfaces and verify interactions using GoogleMock or Trompeloeil
– Integrate tests, coverage reports, and static analysis into CMake-driven pipelines on GitHub Actions or Azure DevOps
Who This Book Is For
• C++ developers moving from basic idioms to enterprise-grade architectures
• Software architects defining clean module boundaries and dependency graphs
• Systems and embedded engineers building real-time, resource-constrained applications
• Game developers and high-performance computing teams requiring ultra-low latency designs
• DevOps and platform engineers packaging, distributing, and securing C++ modules in CI/CD environments
Packed with hands-on examples, real-world case studies, and actionable best practices, C++ Object-Oriented Programming empowers you to build robust, extensible, and maintainable systems that excel under any production challenge.
More Information
| Author | Richard M. Ponds |
|---|---|
| Publisher | Independently published |
| Release year | 2025 |
| Cover type | Softcover |
| EAN | 9798264768842 |