Boost logo

Boost Users :

Subject: Re: [Boost-users] boost test with assert()
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2008-11-24 00:00:36


Hicham Mouline <hicham <at> mouline.org> writes:

>
> Hmm. Sadly, RemoveSimulation() does other things that SimulationId
> knows nothing about ...

Why does it have to know anything about it? It's just call the function. How
does it matter if you call it from outside - on function level, or from inside
in destructor?

Gennadiy
 
> > ----- Original Message -----
> > From: "Gennadiy Rozental" <rogeeff <at> gmail.com>
> > To: boost-users <at> lists.boost.org
> > Subject: Re: [Boost-users] boost test with assert()
> > Date: Fri, 21 Nov 2008 23:45:59 +0000 (UTC)
> > Hicham Mouline <hicham <at> mouline.org> writes:
> >
> > > Possibly, there is a nicer/cleaner way to test this?
> >
> > Possible there is a nicer way to design this? Why not just call
> > RemoveSimulation
> > from SimulationId destructor?
> >
> > 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