Boost logo

Boost :

From: Martin (adrianm_at_[hidden])
Date: 2005-03-05 04:37:26

Thanks, it compiles now and works but I do get several warnings (also with the
test programs), see below.

Just a question. Is it possible to have the singleton automaticly created at
program start?
(A global variable isn't an option since that is what I'm trying to avoid in
the first place)

Here are the warnings (they are repeated several times)
boost\singleton\leaky_lifetime.hpp(207) : warning
C4512: 'boost::singleton::leaky_lifetime_ex<CreationPolicy,Creator,Lock>::lifet
ime<Type>::auto_set<T>' : assignment operator could not be generated

boost\singleton\creators.hpp(174) : warning
C4511: 'boost::singleton::create_using_new_ex<NoThrow>::creator<Type>::creatabl
e<Base>' : copy constructor could not be generated
boost\singleton\creators.hpp(181) : warning C4127: conditional expression is
boost\singleton\leaky_lifetime.hpp(77) : warning C4127: conditional expression
is constant

Boost list run by bdawes at, gregod at, cpdaniel at, john at