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