Boost logo

Boost :

From: Rainer Deyke (root_at_[hidden])
Date: 2001-11-13 23:02:13


----- Original Message -----
From: "Gennadiy E. Rozental" <rogeeff_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Tuesday, November 13, 2001 7:51 PM
Subject: [boost] Re: Work in progress list? And how about a singleton?

> > Sorry for bad example in other posting. Consider following one,
> even
> > simplier: A need global log object L for creating and destruction.
> So
> > order of creation A, L. Automatic order of destruction L, A. When A
> > destructed L already gone.
>
> Oops... wrong again. A should not use L in constructor. See
> http://groups.yahoo.com/group/boost/message/19969. Hopefully this
> time I an right.

Yes it should, since that's the only way it can make sure that 'L' exists
during 'A''s destructor. :-)

--
Rainer Deyke (root_at_[hidden])
Shareware computer games           -           http://rainerdeyke.com
"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor

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