Re: [Boost-users] [BULK] Re: [BULK] Re: [Test] redirecting unit test report
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Gennadiy Rozental Sent: Tuesday, August 23, 2005 1:40 PM To: boost-users@lists.boost.org 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.
participants (1)
-
Sohail Somani