Angus Leeming wrote: > Georg Baum <[EMAIL PROTECTED]> writes: >>>> Peter Kümmel wrote: >>> BTW, next time at a book shop, have a look at "Modern C++ Design" by >>> Andrei Alexandrescu. > >> I might do so. > > Incidentally, whilst this book most definitely *is* a good investment, the > Singleton pattern was reimplemented as a prospective Boost library last year. > There was quite a lot of traffic on the Boost devel list at the time, but I > forget whether the thing was actually accepted.
It was rejected: http://article.gmane.org/gmane.comp.lib.boost.announce/64/match=singleton And it seems the developer has dropped it, the last update of the code was las year: http://boost-consulting.com/vault/index.php?&direction=0&order=&directory=Patterns > That said, I'd reiterate what others have been saying. There's absolutely > *no* > need for us to use global static data or have multiple singletones. The LyX > class is all we need and all we should use. > > Angus (most definitely still lurking; it's fun to see how vibrant this list > has become once again. It does make it hard to keep up with though, what with > the imminent release of Exchange 2007 and the frenzy that *any* release > entails.) > -- Peter Kümmel