Boost logo

Boost Users :

From: Gennadiy E. Rozental (rogeeff_at_[hidden])
Date: 2003-08-29 19:42:57


--- In Boost-Users_at_[hidden], "Anders Moe" <yg-boost-
users_at_m...> wrote:
> Hi again and thanks for your reply.
>
>
> If I understand you correctly you suggest using the ctor/dtor in the
> class-test-case to do the job of build_up/tear_down. I suppose that
would be
> equivalent to setup/teardown. This works, ofcourse, because a C++
> programmer can rely on the dtor being executed, unlike the Java
finalizer.
>
> Anders.

Does that mean that my answer sattisfy your need in bringup/teardown
functionality? Do you think it is going to be acceptable always?

Gennadiy.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net