3460:421 OOP Singleton Design Pattern

12345678910111213141516171819202122232425
Across
  1. 1. The Singleton is more flexible than static member functions, which are not _____
  2. 2. One thing against the Singleton Pattern is that the Singleton may be used to get around a _____ design
  3. 3. There are some strong opinions against the _____ of using the Singleton pattern
  4. 7. Note that the implementations of many standard data structures are not entirely _____ _____
  5. 9. Use the Singleton pattern when there must be exactly one instance of a class, and it must be _____ to clients from a well-known access point
  6. 12. Singleton is a _____ Pattern
  7. 15. The related pattern _____ can be implemented using the Singleton pattern
  8. 17. The thread-safe implementation used std::_____<MazeFactory*>
  9. 18. In the Motivation, sometimes a class must have exactly one _____
  10. 21. In the implementation example, the class _____ is the Singleton class.
  11. 22. Use the Singleton pattern when the sole instance should be _____ by subclassing
  12. 23. One consequence of the Singleton is that the Singleton class can be _____
  13. 24. The Single controls _____ to the sole instance
  14. 25. The thread-safe implementation used std::_____ to form a lock around the creation of the MazeFactory
Down
  1. 1. The related pattern _____ can be implemented using the Singleton pattern
  2. 4. The _____ Pattern ensures a class only has one instance and provide a global point of access
  3. 5. In the implementation example, to create a MazeFactory, you call the static method _____()
  4. 6. The Singleton is used in place of global variables, avoids _____ the global namespace
  5. 8. The Singleton class defines an instance operation that lets clients access a _____ instance
  6. 10. DCL is short for _____-_____ Locking
  7. 11. A _____ _____ makes an object accessible, but it doesn’t keep you from instantiating multiple objects.
  8. 13. A better solution is to make the class itself _____ for keeping track of its sole instance
  9. 14. The Singleton instance (in C++) is a _____ _____ function
  10. 16. The related pattern _____ _____ can be implemented using the Singleton pattern
  11. 19. Once in place, you can change your mind and allow more than _____ instance
  12. 20. The Singleton class may be _____ for creating a unique instance