Singleton Pattern

Thomas Mader thomas.mader at gmail.com
Wed Jan 11 15:55:14 PST 2012


On Friday, January 6, 2012, Jonathan M Davis <jmdavisProg at gmx.com> wrote:
> The same way that you would in C++ or Java, except that unlike you have
static

The most simple and elegant way in java is to use an enum. Is there nothing
comparable in D?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20120112/ec49fea2/attachment.html>


More information about the Digitalmars-d-learn mailing list