public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Antwort: Re: c++/7472: gcc 3.1.1 has problems with STL slist
@ 2002-08-05 5:06 steffen.goerzig
0 siblings, 0 replies; only message in thread
From: steffen.goerzig @ 2002-08-05 5:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/7472; it has been noted by GNATS.
From: <steffen.goerzig@daimlerchrysler.com>
To: <gcc-gnats@gcc.gnu.org>
Cc:
Subject: Antwort: Re: c++/7472: gcc 3.1.1 has problems with STL slist
Date: Mon, 5 Aug 2002 14:01:36 +0200
Hi,
thank you for your fast answer.
I will apply your solution.
Best regards
Steffen
Synopsis: gcc 3.1.1 has problems with STL slist
State-Changed-From-To: open->closed
State-Changed-By: pme
State-Changed-When: Fri Aug 2 09:09:36 2002
State-Changed-Why:
Thank you for your bug report.
=20
The slist class is not part of the standard library.
It was part of the original HP library and retained by SGI.
For GCC, it has been moved out of namespace std, since it
is not standard. Also the header file has been moved.
=20
This
=20
#include <ext/slist>
=20
using __gnu_cxx::slist;
=20
int main()
{
slist<int> s;
}
=20
works with 3.1 and later.
=
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-08-05 12:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-05 5:06 Antwort: Re: c++/7472: gcc 3.1.1 has problems with STL slist steffen.goerzig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).