delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/04/19:51:37

From: Ron House <house AT usq DOT edu DOT au>
Newsgroups: comp.lang.c++,comp.os.msdos.djgpp
Subject: STL broken?
Date: Tue, 05 Dec 2000 00:46:05 +0000
Organization: University of Queensland
Lines: 25
Message-ID: <3A2C3ACD.18F8C1D5@usq.edu.au>
NNTP-Posting-Host: heracles.usq.edu.au
Mime-Version: 1.0
X-Trace: bunyip.cc.uq.edu.au 975977136 3227 139.86.208.29 (5 Dec 2000 00:45:36 GMT)
X-Complaints-To: news AT uq DOT edu DOT au
NNTP-Posting-Date: 5 Dec 2000 00:45:36 GMT
X-Mailer: Mozilla 3.04 (X11; I; Linux 2.0.36 i586)
X-Original-NNTP-Posting-Host: 139.86.23.17
X-Original-Trace: 5 Dec 2000 10:45:25 +1000, 139.86.23.17
X-Abuse: abuse AT usq DOT edu DOT au
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I believe the latest version of the STL is fatally broken, to the extent
that trivial programs will not compile. As this version is distributed
in DJGPP and, I believe, Linux, I am wondering why no one else has
noticed this. The version of the STL I refer to is on

http://www.sgi.com/Technology/STL/download.html

as version 3.3.

An example of a line it won't compile is:

vector<vector<int> > m;

as found on page 836 of Stroustrup.

On the other hand, version 3.2 on that same site works correctly with
the most complex templates I have in my programs.

Have I missed something here?

-- 
Ron House     house AT usq DOT edu DOT au
              http://www.sci.usq.edu.au/staff/house

A rose grows in the Earth's good soil.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019