
10 May
2005
10 May
'05
9:41 p.m.
"Jason Hise" wrote:
1. Creator policy is redundant with the standard Allocator concept [snip]
Additionally, I feel that it is important that creators be easy for client code to write when necessary. The current interface required for a singleton creator is, IMO, much simpler to meet than the interface for a standard allocator. Being able to write a creator makes it easy to wrap other existing libraries with singletons relatively quickly.
We are stuck with std::allocators and there's no realistic hope they will change/disappear. So people will code against them, even when it is suboptimal solution. /Pavel