This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]