Hi Philippe, just another template question: I have a templated class, which wraps a map<Key, Object> in a thread safe way. This works fine in C++. How can I give this TGuardedMap now over to CINT with the ClassDefT etc. macros? They all allow only one template argument. How can that be done: // K denotes the key, O denotes the Object template <typename K, typename O> class TGuardedMap { // private typedefs typedef map<K, O> KO_Map; typedef map<K, O>::iterator KO_iter; //on UNIX it occurs a Deadlock with normal Mutex!!! TThreadMutex m_Mutex; // the Mutex to protect the map ... }; This works in compiled code, but I want to have this template also available with all what the ClassDef's give to it. I have not found anything about these templates with more than one argument. Could you guide me to the source of HOWTO ?;-) Greetings, Marc -- Dr. Marc Hemberger /\_/\ ( o.o ) > ^ < |\ _,,,---,, realTech privat: ZZZzz /,`.-'`' -. ;-;;,_ system consulting GmbH |,4- ) )-,_. ,\ ( `'-' Industriestr. 39c Marstallstr. 49d '---''(_/--' `-'\_) 69190 Walldorf 68723 Schwetzingen Marc.Hemberger@realtech.de MHemberger@csi.com ** Disclaimer: My views/comments/beliefs, as strange as they are, are my own.**
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:00 MET