Hi Rene! Your idea is indeed encouraging. Maybe this will work: TCut TCut::operator!() const { return TCut( "NOT"+this->fName, "!(" + this->fTitle + ")" ); } Note that it returns TCut instead of TCut& and has a 'const' added. I'm ignorant about the role of "name" parameter, so I simply put "NOT" prefix there. Will that work? Cheers, Andy. Rene Brun wrote: > > Hi Andrei, > We are unfortunatly aware of this problem that prevents a real use > of the TCut class. The operator ! changes the cut. > If you implement the cut as intended, I will offer you > a bottle of champagne. > > Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:19 MET