🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #2964

Assignment of iostreams

#2964
From: Gabriel Sanchez Gutierrez
Date: Sat, 30 Dec 1995 01:16
26 lines
1631 bytes
Hello,

In my code there were some lines trying to assign an ostream to 
another ostream, using operator= (that seems to be defined by 
default).

I have upgraded my compiler (to GCC2.7.2) and now that is not possible.
Looking at the .h files, I have found a class called _IO_ostream_withassign
that defines such operator.

I am sure this class is not standard. In fact, I have not found references to 
it in the standard text. 

Any hint about how to perform such assignment using standard things?

Thanks and happy new year.

--------------------------------------------------------------------------
Gabriel Sanchez Gutierrez | Phone:        +34.1.327.28.28
DIS - Sema Group sae      | Fax:          +34.1.754.32.52
Albarracin, 25            | Email:        gsg@sema.es
28037 Madrid - SPAIN      | WWW:          http://www.sema.es/~gsg
---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID: <4c1af7$brh@vivaldi.sema.es>
Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back
Date: 30 Dec 95 01:16:11 GMT
Approved: fjh@cs.mu.oz.au
From: Gabriel Sanchez Gutierrez <gsg@sema.es>
Newsgroups: comp.std.c++
Subject: Assignment of iostreams
X-Original-Date: 29 Dec 1995 18:02:15 GMT
Organization: Sema Group sae - DIS
Message-ID: <4c1af7$brh@vivaldi.sema.es>
X-Mailer: Mozilla 1.1N (X11; I; SunOS 4.1.3 sun4m)
X-Url: news:comp.std.c++
X-Auth: PGPMoose V1.1 PGP comp.std.c++
 iQBFAgUBMOSS9uEDnX0m9pzZAQFLeQF9FLm8Si/yrTWwgXM4t7iNVI9g1HvHHjuT
 WdOWlRzgYxaC58EUqneF9npwINHQhwEn
 =YEFL