Hello,
In the following code:
void f()
{
static MyClass x(1,2,3);
}
the MyClass constructor is called at file-loadtime, even if the
function f() is never called. I think MyClass should be constructed
when/if the function is called for the first time.
cint/doc/limitati.txt mentions something related, but I think this
problem still exists. would it be easy to fix? It is not currently a
critical problem for me though.
Thanks,
Christoph
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:03 MET