www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/05/00:07:23

From: "Bart Kowalski" <me AT nospam DOT com>
Newsgroups: comp.lang.c++,comp.os.msdos.djgpp
References: <3A2C3ACD DOT 18F8C1D5 AT usq DOT edu DOT au>
Subject: Re: STL broken?
Lines: 22
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: <zy_W5.44669$2A2.2187120@news20.bellglobal.com>
Date: Tue, 05 Dec 2000 04:54:55 GMT
NNTP-Posting-Host: 64.229.164.191
X-Trace: news20.bellglobal.com 975992095 64.229.164.191 (Mon, 04 Dec 2000 23:54:55 EST)
NNTP-Posting-Date: Mon, 04 Dec 2000 23:54:55 EST
Organization: Sympatico
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.

You forgot the namespace qualifier. See chapter 8 of the same book.


Bart.



- Raw text -


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