/*! @file @id $Id$ */ // 1 2 3 4 5 6 7 8 // 45678901234567890123456789012345678901234567890123456789012345678901234567890 // g++ -I../../src ../../src/xml.cxx node_macros.cxx #include #include #include /* template class Stream: public STREAM { public: virtual ~Stream() {} template virtual Stream& operator%(T& o); }; template class IStream: public Stream { public: virtual template IStream& operator%(T& o) { operator>>(o); return *this; } }; template class OStream: public Stream { public: virtual template OStream& operator%(T& o) { operator<<(o); return *this; } }; */ template STREAM& operator%(STREAM& s, TYPE& o); template STREAM& operator%(STREAM& s, TYPE& o); class A { public: int a; std::string txt; }; int main(int, char**) { return 0; }