RE: [ROOT] TString initialization

From: Philippe Canal (pcanal@fnal.gov)
Date: Fri Jun 22 2001 - 19:10:32 MEST


Hi,

This is a limitation of CINT.  See previous mails on array initialization.

Philippe.

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Kirill Shileev
Sent: Friday, June 22, 2001 10:40 AM
To: root mail list
Subject: [ROOT] TString initialization


Hi Rooters,

I've encountered the following problem:

TString a[10]={"odin","dva","tree"}; gives me

Error: Illegal initialisation of a[10]. Constructor exists


Is it a cint constraint or am i doing something wrong?

Regards, Kirill



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:50 MET