class Zsak { public: Zsak(); ~Zsak(); void Add( int x ); friend Zsak operator>>( const int a, Zsak b ) { b.Add( a ); return b; } friend Zsak operator+( const Zsak a, const Zsak b ) { Zsak ret; list::iterator i; a.zs.push_back(5); return ret; } private: list zs; };