Evil GeniusSociety
HomeLearnForumLeaderboardSocialsMessages
HomeLearnForumLeaderboardSocialsMessages

Curriculum

  • 1. Getting Set Up
  • 2. What a Compiler Actually Does
  • 3. Values and Types
  • 4. Control Flow
  • 5. Functions
  • 6. Arrays, Strings, and Your First STL Tools
  • 7. Pointers and References
  • 8. The Memory Model
  • 9. Structs, Classes, and Object Lifetime
  • 10. Smart Pointers
    • 10.1 Ownership as a Design Question
    • 10.2 std::unique_ptr
    • 10.3 std::shared_ptr and Reference Counting
    • 10.4 std::weak_ptr and Breaking Cycles
    • 10.5 make_unique and make_shared
    • 10.6 Choosing: Value, unique_ptr, shared_ptr, or Raw
  • 11. Debugging and Tooling
  • 12. Templates
  • 13. The Standard Library
  • 14. Lambdas and Functional Style
  • 15. Error Handling
  • 16. Object-Oriented C++
  • 17. Project Structure and the Build
  • 18. Testing
  • 19. Idioms and Design
  • 20. Concurrency
  • 21. Performance
  • 22. Compile-Time C++
  • 23. Interfacing Outward
  • 24. Capstone Projects
← All modules

Modules 10

Smart Pointers

Ownership as design: unique_ptr, shared_ptr, weak_ptr, and choosing between them.

  1. 10.1Ownership as a Design Question
  2. 10.2std::unique_ptr
  3. 10.3std::shared_ptr and Reference Counting
  4. 10.4std::weak_ptr and Breaking Cycles
  5. 10.5make_unique and make_shared
  6. 10.6Choosing: Value, unique_ptr, shared_ptr, or Raw

Evil Genius Society

Python, from zero to hero. Free, forever.

polgzion@gmail.com

Society

  • Home
  • Learn
  • Modules
  • Forum
  • Leaderboard
© 2026 Evil Genius Society