Boost.Pool lost singleton_default -- replacement?

Hi, Prior to 1.48, Boost.Pool's singleton_pool class used a helper class singleton_default. This was hidden in a detail header <boost/pool/detail/singleton.hpp>, yet I found 3 programs in the Debian distribution that used it directly to instantiate their own singletons. I didn't find any direct replacement for singleton.hpp in Boost 1.48. Is there any plan to introduce this later? Thanks, -Steve

Hi,
I didn't find any direct replacement for singleton.hpp in Boost 1.48. Is there any plan to introduce this later?
While not a Singleton, there is a submission on the review calendar called Singularity, which provides the guarantee of a single instance, and the
On Sat, Dec 31, 2011 at 12:08 AM, Steve M. Robbins <steve@sumost.ca> wrote: option of enabling global access, if that is what you need. Perhaps you may find it useful instead. It is on github here: https://github.com/icaretaker/Singularity I suggest reading the HTML documentation. And yes, I'm biased; the submission is mine. :) Ben Robinson, Ph.D.
Thanks, -Steve
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Prior to 1.48, Boost.Pool's singleton_pool class used a helper class singleton_default. This was hidden in a detail header <boost/pool/detail/singleton.hpp>, yet I found 3 programs in the Debian distribution that used it directly to instantiate their own singletons.
I didn't find any direct replacement for singleton.hpp in Boost 1.48. Is there any plan to introduce this later?
No sorry, it was a detail, and details change. You are of course free to grab the singleton source from 1.47 and place it somewhere those programs can use. John.
participants (3)
-
Ben Robinson
-
John Maddock
-
Steve M. Robbins