15 Jan
2008
15 Jan
'08
8:58 p.m.
Steven Watanabe wrote:
Nat Goodspeed wrote:
I wish it were possible to provide 'instance' as both a static data member and a static member function...
It's actually easy, although I don't think it's a good idea:
Because providing multiple equivalent ways to invoke the same functionality adds complexity without adding value? Or are there other reasons related to the instance() static member function itself?