
20 Oct
2009
20 Oct
'09
12:11 p.m.
You could try: http://www.boostcookbook.com/Recipe:/1235044 Kind regards, Derik On Tue, 2009-10-20 at 08:59 -0300, Ray Burkholder wrote:
I am interested to find a sound C++ implementation of a Singleton, and have attempted to find one within the Boost libraries. It seems that "pool/detail/singleton.hpp" would fit the bill for me, but (as I understand it) this class/header is not intended for direct use by library users. Have I overlooked a good alternative within the Boost suite?
I don't think there is something in boost. Here is some research I did on Singletons: http://www.oneunified.net/blog/Personal/SoftwareDevelopment/CPP/Singleton.ar ticle http://www.oneunified.net/blog/Personal/SoftwareDevelopment/CPP/SingletonPer Thread.article