Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-03-03 17:14:46


Gennadiy Rozental wrote:

>> The thing is that the majority of the logic is in place just to
>> handle the timing of automatic destruction. The actual act of
>> creating and destroying is generally trivial by comparison. I
>> suspect, though, that the biggest test of the library will be
>> whether or not it compiles. If it compiles, it should almost
>> certainly run correctly.
>>
>> -Jason
>
> So you are saying that there is no way to initiate automatic
> destruction when leaving any given scope, only global scope?

I believe some lifetime management policies rely on cleanup of local static
variables or on atexit.

Jonathan


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