Tech Tutorials Database
GeekArticles Programming C++

C++ In Theory: The Singleton Pattern, Part I

Category: C++
Comments (0)

( Page 1 of 5 ) Have you ever wondered how to implement a class with simple logging functionality? J. Nakamura explains how to do it in a way that makes use of the Singleton pattern. There is a great book called Design Patterns [Gamma] that encapsulates knowledge trapped inside the heads of experienced programmers, presenting it in understandable and useable chunks. Solutions to a lot of design problems often turn out to be the same, even when programmers discover them independently....n


Sponsored Links

Read Next: Managed C++: Debugging with the StackTrace Class