From: karpfenteich AT gmx DOT de (Peter Karp) Newsgroups: comp.os.msdos.djgpp Subject: How to make DJGPP conform to the ANSI standard (STL)? Date: Mon, 07 Feb 2000 10:11:04 GMT Organization: 1&1 Telekommunikation GmbH Lines: 28 Message-ID: <389e99ba.3034996@news.online.de> NNTP-Posting-Host: p3e9be9e7.dip0.t-ipconnect.de X-Trace: news.online.de 949918042 1689 62.155.233.231 (7 Feb 2000 10:07:22 GMT) X-Complaints-To: abuse AT online DOT de NNTP-Posting-Date: 7 Feb 2000 10:07:22 GMT X-Newsreader: Forte Free Agent 1.11/32.235 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi DJGPP fans :-) a week ago I've asked a question regarding the at() function from the vector container of the STL. Unfortunately nobody found the answer to my question :-( In the meantime I've found out that DJGPP uses the SGI STL and that it doesn't support the at() function, while the HP STL (from VC++ for example) does so. 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 :-( (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) Are there plans to include the whole ANSI standard for future versions of DJGPP (or I guess this must be named GCC here) ? Does someone have a suggestion what would be the best way to program now to stay as portable (but following the ANSI standard) as possible or how I could change the DJGPP setup to make it better following the ANSI standard? Greetings from Cologne Peter