CPSC 421 S25 OOP RAII

123456789101112131415161718192021
Across
  1. 3. A type of initialization where we wait to allocate until right before it is needed
  2. 4. In RAII, the resource is deallocated in the ______
  3. 8. What the R in RAII stands for
  4. 9. A type of free (deallocation) performed more than once on the same allocation
  5. 11. A type of pointer that follows RAII
  6. 14. A type of resource (two words)
  7. 16. A program may do this due to improperly-used resources
  8. 17. A C++ smart pointer that is in the standard
  9. 18. A resource must be properly _____ after use
  10. 20. What the second I in RAII stands for
  11. 21. Related to a programming idiom
Down
  1. 1. A type of resource
  2. 2. A resource must be properly ____ before use
  3. 5. A recurring construct to fix a commonly occurring problem (two words)
  4. 6. A type of resource
  5. 7. One alternative to a smart pointer is to create a custom C++ _____
  6. 10. What the A in RAII stands for
  7. 12. In RAII, the resource is typically allocated in the _____
  8. 13. A resource must be properly ____ before use
  9. 15. A resource must be properly ____ before use
  10. 19. A problem with resources such as memory when we lose all access to them