Thread View: comp.std.c++
6 messages
6 total messages
Started by Zvi Lamm
Fri, 15 Mar 1996 11:03
Conforming compilers should compile STL?
Author: Zvi Lamm
Date: Fri, 15 Mar 1996 11:03
Date: Fri, 15 Mar 1996 11:03
22 lines
1434 bytes
1434 bytes
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. Now since the compiler is supposed to conform to the proposed standard, I thought it MUST compile the STL. Can any one clear thing out for me? Thanks P.S No, I didn't have to oppertunity to compile it myself yet. -- 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 ]
Re: Conforming compilers should compile STL?
Author: 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 ]
Re: Conforming compilers should compile STL?
Author: Steve Clamage
Date: Sat, 16 Mar 1996 10:18
Date: Sat, 16 Mar 1996 10:18
23 lines
1844 bytes
1844 bytes
mslamm@pluto.mscc.huji.ac.il (Zvi Lamm) writes: >What version of the STL source is going to be in the standard? None of the currently-available versions of STL are identical to what is in the draft C++ standard. The final version of STL will probably require features that few, if any, C++ compilers currently support. Versions of STL reasonably close to what will be the standard are currently available (for popular compilers) from several sources, some commercial, some free. By "reasonably close" I mean that code using those versions of STL probably will not need to be changed when compiled against standard- conforming C++ libraries when those become available. (The C++ Standard is not yet complete, so no implementation can accurately claim to be conforming.) -- Steve Clamage, stephen.clamage@eng.sun.com --- [ 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 ]
Re: Conforming compilers should compile STL?
Author: Eric Friedman
Date: Sat, 16 Mar 1996 10:20
Date: Sat, 16 Mar 1996 10:20
25 lines
1836 bytes
1836 bytes
mslamm@pluto.mscc.huji.ac.il (Zvi Lamm) wrote: >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. >Now since the compiler is supposed to conform to the proposed standard, I >thought it MUST compile the STL. >Can any one clear thing out for me? Proposed when? Until the standard is approved, there is no standard. The HP C++ compiler that comes with HP-UX 10 will not compile the STL, and they developed it (using Borland C++ I understand). I would be very surprised if C++/370 could handle the STL, but I could be wrong. Does it have name spaces? Run time information? ------------------------------------------------------- Eric Friedman Internet: efried@mindspring.com --- [ 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 ]
Re: Conforming compilers should compile STL?
Author: J. Kanze
Date: Mon, 18 Mar 1996 16:35
Date: Mon, 18 Mar 1996 16:35
30 lines
2151 bytes
2151 bytes
In article <4ic32v$ah@mulga.cs.mu.OZ.AU> fjh@mundook.cs.mu.OZ.AU (Fergus
Henderson) writes:
|> 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 would be very surprised if the standard required the vendor to ship
source. I think you mean that the implementation will come with a
conforming implementation of STL.
[Moderator's note: yes, that's what I meant. -fjh.]
--
James Kanze (+33) 88 14 49 00 email: kanze@gabi-soft.fr
GABI Software, Sarl., 8 rue des Francs Bourgeois, 67000 Strasbourg, France
Conseils, itudes et rialisations en logiciel orienti objet --
-- A la recherche d'une activiti dans une region francophone
---
[ 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 ]
Re: Conforming compilers should compile STL?
Author: Matt Austern
Date: Mon, 18 Mar 1996 23:38
Date: Mon, 18 Mar 1996 23:38
24 lines
1951 bytes
1951 bytes
In article <4ic32v$ah@mulga.cs.mu.OZ.AU> fjh@mundook.cs.mu.OZ.AU (Fergus Hender son) writes: > 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. In particular, note that the STL (both the version described in the original Stepanov-Lee paper and the version described in the ANSI/ISO committee draft) relies on member templates and on partial specialization. I don't know of any currently shipping compilers that support either of those features. -- Matt Austern SGI: MTI Compilers Group austern@isolde.mti.sgi.com --- [ 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 ]
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads