Boost logo

Boost :

From: Mikhail Glushenkov (bbman_at_[hidden])
Date: 2005-01-09 09:20:55


Dave Handley <dave <at> dah.me.uk> writes:

> Mikhail Glushenkov wrote:
>
> > What about adapting Loki's Singleton? It's the best Singleton
> > I know about and (probably) the most widely-known one.
>
> I agree that it is probably one of the best ones around. My only issues
> are:
> [...]
> 2) There are probably some more options that need to be included, [...]
Agreed. What I would like to see in improved version of
Loki's Singleton:
a) Simpler declaration syntax for Singletons(be it CRTP,
macros, or anything)
b) Ability to use SingletonWithLongevity without having to
link with additional libraries (probably via #define)
c) Better debugging support - automatic detection of cyclic
dependencies, preferrably in compile-time(dreams, dreams..)


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