Date: Mon, 7 Feb 2000 16:21:30 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Peter Karp 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.