#ifndef A_INCLUDED #define A_INCLUDED #include #include "Rtypes.h" class A { public: A(); virtual ~A();//To suppress a warning. void PrintMap()const; private: //The better way would be: //class Pimpl; //std::auto_ptr impl_ or even std::unique_ptr impl_; //And define A::Pimpl in cxx ... but still I have to hide //unordered_map from CINT even in cxx, but this results in //sizeof(A::Pimpl) != sizeof(ROOT:Shadow::A::Pimpl) //and ends with 'Fatal' called. void * impl_; A(const A &); A & operator = (const A &); ClassDef(A, 0); }; #endif