Sold by Mighty Ape
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 thread-safe, high-performance libraries that stand the test of time. 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.
We are committed to protecting your rights under the Consumer Guarantees Act and working with our suppliers to assist with warranty claims. Products sold by Mighty Ape will be covered by a Manufacturer's Warranty for at least a one-year period from the date of purchase.
Your warranty will cover any manufacturing defects which, if existing, will present themselves within this warranty period.
Your warranty will not cover normal wear and tear, faults caused by misuse, and accidents which cause damage or theft caused after delivery. Using the product in a way it is not designed for will void your warranty.
Please refer to our Help Centre for more information.
Save with Primate
Save $5.95 with Discounted Shipping*
Earn $0.63 Points Credit*
Exclusive Deals
Mighty Ape Travel discount
^FREE 14 day trial. Primate will be charged $89 / 365 days after free trial, cancel anytime. Delivery benefits available in selected postcodes only. †*T&Cs apply, click for details.