CPSC 421 OOP RAII

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