cint5.13.31

From: $B8eF#!!@5<#(
Date: Mon Nov 03 1997 - 22:25:00 MET


Fons,                  cc: INET:roottalk@hpsalo.cern.ch 
                           INET:snyder@d0sgif.fnal.gov 
                           INET:alext@win.tue.nl

I copied cint5.13.31. Please expose this version. This version includes
following fix and enhancement.

 * Long command input like 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaa.....' is protected.
 * Forward declaration of template class and member function are supported
 * Template works with namespace
 * Expression (*this)[i] where [] as operator[](int) is supported

Calling operator new is left as it is so that you can modify operator
new(size_t) with G__getgvp()!=G__PVOID test. But you may want to reset 
G__globalvarpointer at the first operator new call. Otherwise, you will
find problem using new operator in constructor. 

 void* operator new(size_t size) {
   if(G__getgvp()!=G__PVOID) {
     void *temp = (void*)G__getgvp();
     G__setgvp(G__PVOID);
     return(temp);
   }
     .
     .
 }

But with the new version you can switch using operator 
new(size_t size,void* arena) version by giving '-M0xc0' option to 
makecint or G__main() in rootcint.

Thank you
Masaharu Goto



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:22 MET