Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-01-18 13:23:21


What is the reason to prefer the current instance/lease formulation instead
of

    typedef ... instance_type;
    instance_type instance(); // automatically serves as a lease

?

(Also, why mutexed_singleton? Mutexed is not a word; synchronized_singleton
maybe?)

Apologies if these have already been answered. I lost track of the thread.
Appalling, I know.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk