c++/7472: gcc 3.1.1 has problems with STL slist

pme@gcc.gnu.org pme@gcc.gnu.org
Fri Aug 2 09:09:00 GMT 2002


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.
    
    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.
    
    This
    
        #include <ext/slist>
    
        using __gnu_cxx::slist;
    
        int main()
        {
            slist<int> s;
        }
    
    works with 3.1 and later.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7472



More information about the Gcc-bugs mailing list