From 499137608416684514
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,dafbff8298483cc7
X-Google-Attributes: gidf78e5,public
From: James Kuyper <kuyper@wizard.net>
Subject: Re: String Streams
Date: 2000/02/24
Message-ID: <38B228AC.A7833542@wizard.net>#1/1
X-Deja-AN: 589064086
Content-Transfer-Encoding: 7bit
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
References: <MPG.131aaad04385bc549897ac@news.mindspring.com>
X-Accept-Language: en,de,es,ru
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!mulga.cs.mu.oz.au
X-Trace: mail2news.demon.co.uk 951350543 mail2news:2653 mail2news mail2news.demon.co.uk
Organization: bCandid - Powering the world's discussions - http://bCandid.com
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
Mime-Version: 1.0
Nntp-Posting-Date: Mon, 21 Feb 2000 23:07:15 MST
Newsgroups: comp.std.c++

Dave Hardenbrook wrote:
> 
> I'm getting conflicting info: Which is the correct header for ANSI
> compliant String streams, <sstream> or <strstream>?

There's a simple reason. <strstream> is deprecated (Appendix D.7), while
<sstream> (section 27.7) is the replacement. If you've got legacy code
which uses <strstream>, you've got a bit of conversion to do if you want
it to be up-to-date. Have fun!

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]




