Boost logo

Boost :

Subject: Re: [boost] [log] Release candidate 1
From: Sylvester-Bradley, Gareth (Gareth.Sylvester-Bradley_at_[hidden])
Date: 2013-03-11 07:55:50


> I had the idea of making the core default constructible so that it
> would contain the pointer to the core singleton internally. But that
> seemed a counterintuitive design to me as noone expects a default
> constructible object to be actually a singleton.

This is the Monostate pattern, isn't it?
See e.g. http://c2.com/cgi/wiki?MonostatePattern

Best regards,
Gareth

************************************************************************
The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only.

This email and any response may be monitored by Sony to be in compliance with Sony's global policies and standards


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk