1 namespace B { 2 3 template <class _CharT> 4 struct basic_ostream { 5 basic_ostream& operator<<(basic_ostream& (*__pf)()); 6 }; 7 8 9 template <class _CharT> basic_ostream<_CharT>& 10 endl(); 11 12 struct S1 { 13 template <class _CharT> friend void 14 operator<<(basic_ostream<_CharT>& __os, const S1& __x); 15 }; 16 17 S1 setw(int __n); 18 19 template <class _CharT> class S2; 20 21 template <class _CharT> void 22 operator<<(basic_ostream<_CharT>& __os, const S2<_CharT>& __x); 23 24 template <class _CharT> 25 struct S2 { 26 template <class _Cp> friend void 27 operator<<(basic_ostream<_Cp>& __os, const S2<_Cp>& __x); 28 }; 29 30 } 31