Article View: comp.std.c++
Article #3691Re: Conforming compilers should compile STL?
From: Fergus Henderson
Date: Sat, 16 Mar 1996 07:42
Date: Sat, 16 Mar 1996 07:42
43 lines
2805 bytes
2805 bytes
mslamm@pluto.mscc.huji.ac.il (Zvi Lamm) writes: >What version of the STL source is going to be in the standard? You question indicates some confusion between the standard itself, which will specify the interface to STL, and implementations of the standard. The standard itself won't contain any version of the STL source. Rather, C++ implementations which aim to conform to the standard will come with some version of the STL source code. >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. >Now since the compiler is supposed to conform to the proposed standard, I >thought it MUST compile the STL. What makes you think that the compiler is supposed to conform to the proposed standard? The fact is that there are NO existing compilers which fully conform to the draft proposed standard. Remember, it is only a draft, and it is still subject to change. Even when the final version of the standard is published, I think it will take compiler vendors a while to produce conforming implementations (or at least almost-conforming -- all sufficiently complex programs contain bugs). I think currently there may be no existing compilers which are capable of compiling any version of STL which fully conforms to the draft standard. So compiler vendors ship with slightly cut-down implementations of STL, such as the HP version, which do not quite conform to the draft standard, but which are easier to compile. Such versions avoid the use of more recently-introduced features such as template template arguments, default template arguments, and so forth. -- Fergus Henderson WWW: http://www.cs.mu.oz.au/~fjh fjh@cs.mu.oz.au PGP: finger fjh@128.250.37.3 --- [ 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:
<4ic32v$ah@mulga.cs.mu.OZ.AU>Path:
arc1-ca.pugleaf.net!in2.uu.net!bounce-backReferences:
<QQahcw08893.199603150939@relay2.UU.NET>Show Full Headers
Complete Article Headers
From: fjh@mundook.cs.mu.OZ.AU (Fergus Henderson) Message-ID: <4ic32v$ah@mulga.cs.mu.OZ.AU> X-Original-Date: 15 Mar 1996 15:41:19 GMT Path: arc1-ca.pugleaf.net!in2.uu.net!bounce-back Date: 16 Mar 96 07:42:01 GMT Approved: fjh@cs.mu.oz.au Return-Path: <daemon@meeker.UCAR.EDU> Newsgroups: comp.std.c++ Subject: Re: Conforming compilers should compile STL? Organization: Comp Sci, University of Melbourne References: <QQahcw08893.199603150939@relay2.UU.NET> X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUBMUpw9OEDnX0m9pzZAQGbzgF8DVHkW2qmLADQNa9vFq1uGbxhDXCg2o51 Qc1gZUDbiM1hRO2V1FAZH5F/gwpUafDE =NA7E