Boost logo

Boost :

From: Gennadiy E. Rozental (rogeeff_at_[hidden])
Date: 2001-11-13 21:48:14

--- In boost_at_y..., "Rainer Deyke" <root_at_r...> wrote:
> ----- Original Message -----
> From: "Gennadiy E. Rozental" <rogeeff_at_m...>
> To: <boost_at_y...>
> Sent: Tuesday, November 13, 2001 3:49 PM
> Subject: [boost] Re: Work in progress list? And how about a
> > What if you want to change the order of destruction?. Example: A
> > C and B need C. You create A, which in turn will create C. Then
> > 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.
Sorry bad example. Another try:

A uses C on destruction, B uses C on construction. Creation sequence:
A, C, B. Automatic destruction sequence: B, C, A. A out of luck C
already gone.


> --
> Rainer Deyke (root_at_r...)
> Shareware computer games -
> "In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" -

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