You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Intent:** Provide an interface for creating families of related or dependent objects without specifying their concrete classes.
@@ -592,6 +593,14 @@ validation and for building to order
592
593
**Applicability:** Use the Multiton pattern when
593
594
* there must be specific number of instances of a class, and they must be accessible to clients from a well-known access point
594
595
596
+
## <aname="resource-acquisition-is-initialization">Resource Acquisition Is Initialization</a> [↑](#list-of-design-patterns)
597
+
**Intent:** Resource Acquisition Is Initialization pattern can be used to implement exception safe resource management.
598
+
599
+

600
+
601
+
**Applicability:** Use the Resource Acquisition Is Initialization pattern when
602
+
* You have resources that must be closed in every condition
0 commit comments