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
Copy file name to clipboardExpand all lines: src/patterns/creational/Singleton.cpp
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@
6
6
// (*) when a class in your program should have just a single instance available to all clients; for example, a single database object shared by different parts of the program.
7
7
// (**) when you need stricter control over global variables.
0 commit comments