Hi Alexander,
Stefan Kluth has developped an extension to RootCint permitting
template support for the code generated for I/O.
This extension is about to be introduced in Root.
More info will be posted when this will become available.
Rene Brun
> ------------------------------------
> #ifndef RootSTL__include
> #define RootSTL__include
>
> #include "TObject.h"
>
> #ifndef __CINT__
> // --- STL ---
> #include <vector.h>
> #include <pair.h>
> #endif // __CINT__
>
> class RootSTL : public TObject
> {
> public:
> ~RootSTL(void) {}
> RootSTL(void) {}
>
> #ifndef __CINT__
> vector<int> fVInt; // STL vector
> pair<bool,int> Sum(vector<int> &v); //
> #define __CINT__
>
> ClassDef(RootSTL,1) // ROOT class that uses STL
> };
>
> #endif // RootSTL__include
> --------------------------------------
>
> With best wishes,
> Alexander.