1997-11-05 egcs snapshot available

Oleg Krivosheev kriol@fnal.gov
Thu Nov 6 12:53:00 GMT 1997


hi,

please find enclosed patch for new teml.firends
declaration in iomanip.h.

regards

OK

ps

SGI STL oct 31 release is out. Will we upgrade
now or wait after release ?



*** iomanip.h.orig	Thu Nov  6 11:46:36 1997
--- iomanip.h	Thu Nov  6 11:52:07 1997
***************
*** 102,107 ****
--- 102,110 ----
         { return imanip<TP>(_f, a); }
  };
  
+ template <class TP>
+ inline istream& operator>>(istream&, const imanip<TP>&);
+ 
  template <class TP> class imanip {
      istream& (*_f)(istream&, TP);
      TP _a;
***************
*** 109,115 ****
      imanip(istream& (*f)(istream&, TP), TP a) : _f(f), _a(a) {}
      //
      friend
!       istream& operator>>(istream& i, const imanip<TP>& m);
  };
  
  template <class TP>
--- 112,118 ----
      imanip(istream& (*f)(istream&, TP), TP a) : _f(f), _a(a) {}
      //
      friend
!       istream& operator>> <>(istream& i, const imanip<TP>& m);
  };
  
  template <class TP>
***************
*** 131,136 ****
--- 134,142 ----
        { return omanip<TP>(_f, a); }
  };
  
+ template <class TP>
+ inline ostream& operator<<(ostream&, const omanip<TP>&);
+ 
  template <class TP> class omanip {
      ostream& (*_f)(ostream&, TP);
      TP _a;
***************
*** 138,144 ****
      omanip(ostream& (*f)(ostream&, TP), TP a) : _f(f), _a(a) {}
      //
      friend
!       ostream& operator<<(ostream& o, const omanip<TP>& m);
  };
  
  template <class TP>
--- 144,150 ----
      omanip(ostream& (*f)(ostream&, TP), TP a) : _f(f), _a(a) {}
      //
      friend
!       ostream& operator<< <>(ostream& o, const omanip<TP>& m);
  };
  
  template <class TP>





More information about the Gcc mailing list