
5 Feb
2007
5 Feb
'07
10:14 p.m.
Hello Sohail, Tuesday, February 6, 2007, 1:08:25 AM, you wrote:
Is there interest in having a boost singleton? A preliminary implementation of it could use boost::once. Then all lazy initializations would happen through that interface.
Just a thought.
I think a generic implementation of a thread-safe singleton is a nice idea. I encounter this problem quite often. Although, once-based implementation doesn't suit me very well in this case. -- Best regards, Andrey mailto:andysem@mail.ru