
11 Apr
2012
11 Apr
'12
3:05 p.m.
There are many ways to skin the singleton cat. In fact, boost itself sports several--some publicly exposed, some in "detail". I'm wondering if any one or two of these might be considered to be the current state-of-the-art with regard to implementing a singleton. I can certainly "roll my own" as I've done in the past, but if I can stand on the shoulders of giants and since I already have an accepted dependency on boost, I definitely prefer that. I do not wish to engage in any religious wars regarding singletons--I'm aware that they have their evils. Thanks much! -- Chris Cleeland