Boost logo

Boost Users :

From: Sohail Somani (s.somani_at_[hidden])
Date: 2005-08-23 16:26:20


> -----Original Message-----
> From: boost-users-bounces_at_[hidden]
> [mailto:boost-users-bounces_at_[hidden]] On Behalf Of
> Gennadiy Rozental
> Sent: Tuesday, August 23, 2005 1:40 PM
> To: boost-users_at_[hidden]
> Subject: [BULK] Re: [Boost-users] [BULK] Re: [Test]
> redirecting unit test report
> Importance: Low
>
> Because instances of global_fixure aren't supposed to be
> destructed through
> abstract pointer. Which is reinforced by protected destructor.

Ah. I had a suspicion of this.

> > All this could be avoided if you go the route of
> BOOST_ASSERT in that
> > you can define hooks via some free standing functions.
>
> What could be avoided and how an alternative would look like?

I was thinking of avoiding the need for classes. But since context was
snipped I went back and read over the thread again and it seems that you
need classes.


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