brintos

brintos / llvm-project-archived public Read only

0
0
Text · 613 B · a8ddc71 Raw
31 lines · c
1namespace 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 void14    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> void22  operator<<(basic_ostream<_CharT>& __os, const S2<_CharT>& __x);23 24  template <class _CharT>25  struct S2 {26    template <class _Cp> friend void27    operator<<(basic_ostream<_Cp>& __os, const S2<_Cp>& __x);28  };29 30}31