From: Dave Abrahams (abrahams_at_[hidden])
Date: 2000-05-27 08:36:52
on 5/26/00 10:10 PM, Petr Kocmid at pkocmid_at_[hidden] wrote:
> The singleton's are implemented with kind of smart pointer and
> constructed automatically at runtime (when needed) which is more
> flexible than static singleton 'memory eaters'
In what way?
> and 'before app
> start must all knowers'.
> (That was the main goal of this implementation)
> // ====================================================================
> // Project: boost/singleton
> // File: singleton.hpp
> #ifndef __boost_singleton_included__
> #define __boost_singleton_included__
^^ This name is reserved to the C++ implementation.
Can you please provide a quick example of usage? It's pretty hard to
evaluate such a substantial proposal without one.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk