Software Engineering KB

Home

❯

02 Programming Languages and Paradigms

❯

03 Memory Models

❯

01 Concept

❯

Smart Pointers

Smart Pointers

Feb 10, 20261 min read

  • memory-models
  • manual-memory
  • smart-pointers

Smart Pointers

← Back to Manual Memory Management

C++ wrapper types that automate memory management for heap-allocated objects. Smart pointers encode ownership semantics in the type system, preventing memory leaks and dangling pointer bugs through RAII principles.

Key Properties

  • unique_ptr
  • shared_ptr
  • weak_ptr

memory-models manual-memory smart-pointers


Graph View

  • Smart Pointers
  • Key Properties

Backlinks

  • Manual Memory Management
  • shared_ptr
  • unique_ptr
  • weak_ptr

Created with Quartz v4.5.2 © 2026

  • GitHub