/* -*- C++ -*- */ /************************************************************************* * Copyright(c) 1995~2005 Masaharu Goto (root-cint@cern.ch) * * For the licensing terms see the file COPYING * ************************************************************************/ #include #include using namespace std; namespace test { class A { public: string i; operator string() const {return i;} }; bool operator== (const A& a1, const A& a2) { cout<<"operator== (const A&, const A&) called"<