 |
C++ Singleton design pattern - Stack Overflow
@derekerdmann: I didn't say you never need a global variable (and when you need one, a Singleton sometimes is better). What I said is that they should be used as little as possible. Glorifying Singleton as a valuable design pattern gives the impression it
stackoverflow.com |
 |