Hi, rooters.
I need to use function templates.
Unfortunately, I can't use traditional compilation, so I have to work with macros. Can my macro include template code? Why root's interpreter (CINT???) does not understand something more complex, then
template<class T>void fun(T);
just try to instantiate something like
template<class T> void fun(const TString &, T) (e.g. fun("lalala", 10)) and you'll get an error message:
Error: Function fun("lalala", 10) is not defined in current scope FILE:t.C LINE:8
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET