Topic: std::list append method not found?


Author: SpreadTooThin <bjobrien62@gmail.com>
Date: Wed, 26 Aug 2009 15:26:10 CST
Raw View
I recompiled an older piece of code this AM and got a compiler error
on a class that inherited from std::list<type>
It said that the method append did not exist.
Has something changed in the list methods that I am unaware of?

My development environment is:
MAC OS X 10.5.8
XCode 3.13
C++

--
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@netlab.cs.rpi.edu]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]





Author: Mathias Gaunard <loufoque@gmail.com>
Date: Wed, 26 Aug 2009 17:59:00 CST
Raw View
On 26 ao   t, 23:26, SpreadTooThin <bjobrie...@gmail.com> wrote:
> I recompiled an older piece of code this AM and got a compiler error
> on a class that inherited from std::list<type>
> It said that the method append did not exist.

Indeed, it doesn't exist, and never did AFAIK.


--
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@netlab.cs.rpi.edu]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]





Author: Darkbyte <seprano.antonio@gmail.com>
Date: Fri, 28 Aug 2009 11:09:05 CST
Raw View
> > It said that the method append did not exist.
>
> Indeed, it doesn't exist, and never did AFAIK.


Here is: http://www.cplusplus.com/reference/stl/list/

--
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@netlab.cs.rpi.edu]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]





Author: Darkbyte <seprano.antonio@gmail.com>
Date: Fri, 28 Aug 2009 11:10:26 CST
Raw View
Sorry, I'm in wrong. The append() method doesn't exist...

--
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@netlab.cs.rpi.edu]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]