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