
18 Jan
2008
18 Jan
'08
7:26 p.m.
Peter Dimov wrote:
What is the reason to prefer the current instance/lease formulation instead of
typedef ... instance_type; instance_type instance(); // automatically serves as a lease
?
As we can't expose the instance when automatic locking is done, it is supposed to provide a means to not have to access the instance directly.
(Also, why mutexed_singleton? Mutexed is not a word; synchronized_singleton maybe?)
Apologies if these have already been answered.
No, they haven't. And there were no complaints about the no-word either, so far :-). Regards, Tobias