[ROOT] TBuffer::operator >>(Bool_t &)

From: Alan Barr (barr@hep.phy.cam.ac.uk)
Date: Wed Jan 23 2002 - 15:33:30 MET


Dear rooters,

does anyone know why is there no method TBuffer::operator >>(Bool_t &) ?

My code fails to compile because my object's Streamer looks for such a
method. If I replace the bool's by int's it seems to be quite happy.

Alan

TBRunCint.cc: In method `void TBRun::Streamer(class TBuffer &)':
TBRunCint.cc:34: ambiguous overload for `TBuffer & >> bool &'
/afs/cern.ch/na49/library.4/ROOT/pro/i386_redhat60/root/include/TBuffer.h:280:
candidates are: TBuffer::operator >>(Char_t &) <near match>
/afs/cern.ch/na49/library.4/ROOT/pro/i386_redhat60/root/include/TBuffer.h:342:
TBuffer::operator >>(UChar_t &) <near match>
/afs/cern.ch/na49/library.4/ROOT/pro/i386_redhat60/root/include/TBuffer.h:287:
TBuffer::operator >>(Short_t &) <near match>
/afs/cern.ch/na49/library.4/ROOT/pro/i386_redhat60/root/include/TBuffer.h:345:
TBuffer::operator >>(UShort_t &) <near match>
/afs/cern.ch/na49/library.4/ROOT/pro/i386_redhat60/root/include/TBuffer.h:294:
TBuffer::operator >>(Int_t &) <near match>
/afs/cern.ch/na49/library.4/ROOT/pro/i386_redhat60/root/include/TBuffer.h:348:
TBuffer::operator >>(UInt_t &) <near match>
/afs/cern.ch/na49/library.4/ROOT/pro/i386_redhat60/root/include/TBuffer.h:185:
TBuffer::operator >>(Long_t &) <near match>
/afs/cern.ch/na49/library.4/ROOT/pro/i386_redhat60/root/include/TBuffer.h:351:
TBuffer::operator >>(ULong_t &) <near match>
/afs/cern.ch/na49/library.4/ROOT/pro/i386_redhat60/root/include/TBuffer.h:308:
TBuffer::operator >>(Float_t &) <near match>
/afs/cern.ch/na49/library.4/ROOT/pro/i386_redhat60/root/include/TBuffer.h:315:
TBuffer::operator >>(Double_t &) <near match>
/afs/cern.ch/na49/library.4/ROOT/pro/i386_redhat60/root/include/TString.h:357:
operator >>(TBuffer &, TString &) <near match>



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:39 MET