delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/07/11:44:55

Date: Mon, 7 Feb 2000 16:21:30 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Peter Karp <karpfenteich AT gmx DOT de>
cc: djgpp AT delorie DOT com
Subject: Re: How to make DJGPP conform to the ANSI standard (STL)?
In-Reply-To: <389e99ba.3034996@news.online.de>
Message-ID: <Pine.SUN.3.91.1000207161639.19867B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 7 Feb 2000, Peter Karp wrote:

> As I'm a newbie I have problems to understand why this is so, as
> Bjarne Stroustrup explains all the functions of the STL in his book
> and I thought the different implementations of the STL would of course
> include all the functions which are defined in the ANSI standard!
> I was really surprised to find out that this is not the case :-(

Welcome to the real world ;-)

There's a large difference between describing a feature in a book and
getting it to work in real life.  The designers of the ANSI C++ standard
defined a humongously large language, and now everybody and their dog are 
struggling to implement all that stuff.  It takes time.

AFAIK, no single compiler has a fully-compliant C++ library at this 
time.  And the GNU implementation (used by DJGPP) is no exception.

Work is under way to put all those new features into the GNU STL 
implementation, so this will be available, eventually.

> (One of the points which makes it harder for a C++ newbie and for sure
> a problem when trying to port a program to different compilers)

My advice to newbies is to avoid using the features that are not known to 
be available in all implementations.

- Raw text -


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