On Friday, 31 January 2014 at 17:10:08 UTC, Andrei Alexandrescu wrote:
On 1/31/14, 3:42 AM, Andrej Mitrovic wrote:
On 1/31/14, Dejan Lekic <dejan.le...@gmail.com> wrote:
SingletonSimple is a winner

Well yeah, but that's not really the only thing what a singleton is about. It's also about being able to initialize the singleton at an arbitrary time, rather than in a module constructor before main() is
called.

Well yah Singleton should be created on first access.

Andrei

If that is what people want, then David's version is definitely the best one.

Reply via email to