|
Boost : |
From: scleary_at_[hidden]
Date: 2001-11-14 08:36:33
> -----Original Message-----
> From: Gennadiy E. Rozental [mailto:rogeeff_at_[hidden]]
>
> 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.
If A uses C on destruction, then A needs to access (not necessarily use) C
on construction.
Creation sequence (completion of constructors): C, A, B
Destruction sequence: B, A, C
-Steve
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk