Boost logo

Boost :

From: Rainer Deyke (root_at_[hidden])
Date: 2001-11-13 18:32:56


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

> What if you want to change the order of destruction?. Example: A need
> C and B need C. You create A, which in turn will create C. Then you
> create B. What happend at distruction time?

The right thing automatically happens: all three objects are destroyed in
inverse construction order. First B, then A, then C.

--
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