1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
// // $Id$ // #ifndef _foo_h #define _foo_h #include <iostream> class foo { public : int i ; foo() : i(0) {} ; foo( const int i0 ) : i(i0) {}; friend std::ostream& operator << (std::ostream&,const foo&); friend std::ostream& operator << (std::ostream&,const foo*); }; #endif