Article View: comp.std.c++
Article #3694Re: Conforming compilers should compile STL?
From: Ehud Lamm
Date: Sat, 16 Mar 1996 09:48
Date: Sat, 16 Mar 1996 09:48
41 lines
2523 bytes
2523 bytes
On Fri, 15 Mar 1996, Rob Sartin wrote: > In article <QQahcw08893.199603150939@relay2.UU.NET> you write: > >What version of the STL source is going to be in the standard? > > > >I ask this since when I asked IBM whether C++/370 will compile the HP STL > >source, I was told to go ahead and check it out myself. > > Good advice. There is no standard yet and no guarantee that the > STL *implementation* follows the draft. > > No. You are making the mistake of assuming that because the STL > interface is part of the standard that the copy of STL you happen > to have must use an implementation that follows the standard. It > is quite possible, indeed likely because the standard is a moving > target and STL was developed using a small number of existing > compilers, that the STL implementation does not follow the draft > standard. The same is true of any particular implementation of > any of the features required by the standard. > This I can understand. But isn't the standard going to include an implementation of the STL? It seems to me that only specifing the interface can lead to unexpected problems. As far as I know other parts of the standard library are descirbed with the implementation. Or is the implementation I see in magazines just the authors fancy? One more question. If the STL is part of the proposed standard, won't compiler vendors HAVE to supply some implemenation of it? Ehud Lamm mslamm@pluto.mscc.huji.ac.il --- [ 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 ] [ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ] [ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ] [ Comments? mailto:std-c++-request@ncar.ucar.edu ]
Technical Details
Message-ID:
<Pine.A32.3.91.960315223344.90639A-100000@pluto.mscc.huji.ac.il>Path:
arc1-ca.pugleaf.net!in1.uu.net!bounce-backReferences:
<199603151701.LAA06783@frodo.pswtech.com>Show Full Headers
Complete Article Headers
From: Ehud Lamm <mslamm@pluto.MSCC.huji.AC.IL> Message-ID: <Pine.A32.3.91.960315223344.90639A-100000@pluto.mscc.huji.ac.il> X-Original-Date: Fri, 15 Mar 1996 22:37:49 +0200 Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back Date: 16 Mar 96 09:48:22 GMT Approved: fjh@cs.mu.oz.au Organization: - Newsgroups: comp.std.c++ Subject: Re: Conforming compilers should compile STL? References: <199603151701.LAA06783@frodo.pswtech.com> In-Reply-To: <199603151701.LAA06783@frodo.pswtech.com> X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUBMUqObuEDnX0m9pzZAQGw/AF9G4OJv6nKlPxu0XqwlV0KauMKEE3HGCKS S2+EWL+KZGpY8c7rj6lzEbWT3yIOjkN3 =92dF