[ROOT] cint bug: < in argument of constructor

From: Chris Crawford (chris2@lns.mit.edu)
Date: Sat Sep 28 2002 - 17:04:50 MEST


hi,
  there appears to be a bug in Cint version 5.15.36 illustrated by the
following examples:

{
  TString h(0>1);	//good (same results for TVector)
  TString h(0<1);	//bad
  TString h=0<1;	//bad
  TString h; h=0<1;	//good (has to be in constructor)
  int x(0<1);		//bad
  int x=0<1;		//good (compared to bad above)
}

as a workaround, just use > instead of <.

--chris crawford



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