$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Andrey Semashev (andysem_at_[hidden])
Date: 2007-02-05 17:14:49
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_at_[hidden]