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
    • 9.1 struct versus class
    • 9.2 Member Variables and Member Functions
    • 9.3 Constructors and Initializer Lists
    • 9.4 Destructors and RAII, Properly
    • 9.5 this
    • 9.6 Access Control and Encapsulation
    • 9.7 Copy Constructor and Copy Assignment
    • 9.8 The Rule of Three
    • 9.9 Move Constructor and Move Assignment
    • 9.10 std::move
    • 9.11 The Rule of Five and the Rule of Zero
    • 9.12 = default and = delete
  • 10. Smart Pointers
  • 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 9

Structs, Classes, and Object Lifetime

Constructors, destructors, copy and move, and the Rules of Three/Five/Zero.

  1. 9.1struct versus class
  2. 9.2Member Variables and Member Functions
  3. 9.3Constructors and Initializer Lists
  4. 9.4Destructors and RAII, Properly
  5. 9.5this
  6. 9.6Access Control and Encapsulation
  7. 9.7Copy Constructor and Copy Assignment
  8. 9.8The Rule of Three
  9. 9.9Move Constructor and Move Assignment
  10. 9.10std::move
  11. 9.11The Rule of Five and the Rule of Zero
  12. 9.12= default and = delete

Evil Genius Society

Python, from zero to hero. Free, forever.

polgzion@gmail.com

Society

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