delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/05/21:33:25

From: "Colin Girling" <colin DOT girling AT virgin DOT net>
Newsgroups: comp.lang.c++,comp.os.msdos.djgpp
References: <3A2C3ACD DOT 18F8C1D5 AT usq DOT edu DOT au>
Subject: Re: STL broken?
Lines: 34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Message-ID: <3IgX5.2566$Ah3.46410@news6-win.server.ntlworld.com>
Date: Wed, 6 Dec 2000 01:35:32 -0000
NNTP-Posting-Host: 62.252.1.1
X-Complaints-To: abuse AT virgin DOT net
X-Trace: news6-win.server.ntlworld.com 976066431 62.252.1.1 (Wed, 06 Dec 2000 01:33:51 GMT)
NNTP-Posting-Date: Wed, 06 Dec 2000 01:33:51 GMT
Organization: Virgin Net Usenet Service
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Well, you might find the compiler is at fault, and not the library.
The Microsoft Visual C++ compiler is hopeless with the STL, and I have lost
count on the things it cannot compile.


"Ron House" <house AT usq DOT edu DOT au> wrote in message
news:3A2C3ACD DOT 18F8C1D5 AT usq DOT edu DOT au...
> 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