/* -*- C++ -*- */ /************************************************************************* * Copyright(c) 1995~2005 Masaharu Goto (root-cint@cern.ch) * * For the licensing terms see the file COPYING * ************************************************************************/ // resolved // 021211rootcint.txt, Maarten // 021214rootcint.txt // masa/* // forward class declaration and enclosed class definition causes // member function to be mis-interpreted. #include template class TPhTopoData; typedef TPhTopoData TPhTopoDataI; template class TPhTopoData { public: TPhTopoData() {} TPhTopoData(const TPhTopoData &a); void disp() const { printf("TPhTopoData.disp()\n"); } class TError { public: void disp() const { printf("TPhTopoData::TError.disp()\n"); } }; }; template TPhTopoData::TPhTopoData(const TPhTopoData &a) { printf("TPhTopoData::TPhTopoData()\n"); } // tmplt.c line 2316 ON1587