|
Boost : |
Subject: Re: [boost] Request for Feedback on the Singularity Design Pattern
From: Gottlob Frege (gottlobfrege_at_[hidden])
Date: 2011-06-28 23:13:20
On Mon, Jun 27, 2011 at 2:17 AM, Ben Robinson <icaretaker_at_[hidden]> wrote:
> The Singularity Design Pattern...
>
> The source files are available here:
>
> http://www.mediafire.com/?d8kn5fx2n5d22
>
> I look forward to your feedback.
>
> Thank you,
>
> Ben Robinson, Ph.D.
When does the constructor
template <class T> ::boost::scoped_ptr<T> singularity_instance<T>::ptr(0);
'happen'?
ie there can be problems with the construction order of globals.
Tony
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk