From -2736222510822245630
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,1896eaa7c54eba44
X-Google-Attributes: gidf78e5,public
From: steagall@deltalogic.com (Bob Steagall)
Subject: Re: Current use of istream_iterator...
Date: 1997/09/11
Message-ID: <34188cd8.22419938@news.apk.net>#1/1
X-Deja-AN: 271764642
References: <5v7li1$2o0@jupiter.planet.net>
X-Original-Date: Fri, 12 Sep 1997 00:34:38 GMT
Organization: DeltaLogic, Inc.
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBVAwUBNBikDEy4NqrwXLNJAQGMxAH/eUDBd4JJIxphaYSiaiCDKhAeIV6j49XR 95VpLaeYe8QyJZQDEU0wkMRiql9F5yMzuzj7zQJDKLW9GscqrJRQjQ== =Et7o
Reply-To: steagall@deltalogic.com
Newsgroups: comp.std.c++
Originator: austern@isolde.mti.sgi.com


mangino@saturn.planet.net (Reed Mangino) wrote:

>Based upon the current "standard" couldn't a vector<> be
>initialized using two istream_iterator objects?

Yes, assuming your compiler supports template member functions.

[... code snipped ...]

>Could someone please explain why the above code is "non-standard"?

It is standard.  However, it won't work unless your compiler supports
template member functions and your standard library implementation is
aware of this support.

--Bob

====================================================================
Bob Steagall                                 steagall@deltalogic.com
DeltaLogic, Inc.                           http://www.deltalogic.com
1537 Kew Road                                   Voice (216) 321-8200
Cleveland Hts, OH 44118-1204                    Fax   (216) 321-6976
---
[ comp.std.c++ is moderated.  To submit articles: Try just posting with your 
                newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu 
]



