|
Boost : |
From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2005-03-03 17:01:54
"Jason Hise" <chaos_at_[hidden]> wrote in message
news:4227814B.9020506_at_ezequal.com...
> Gennadiy Rozental wrote:
>
> >You may need to have separate program that specifically test that your
> >library correctly deals with pre/post main processing, but majority of
the
> >logic should be testable on any scope.
> >
> >
> 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?
Gennadiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk